From 43d65dc03325bcce8561423b9607f7e114355f7d Mon Sep 17 00:00:00 2001 From: ferbas Date: Wed, 13 Jan 2010 09:41:29 +0000 Subject: initial import git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@545 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../sources/import/API/UnixProcs.h | 229 +++++++++++++++++++++ 1 file changed, 229 insertions(+) create mode 100644 Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/UnixProcs.h (limited to 'Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/UnixProcs.h') diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/UnixProcs.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/UnixProcs.h new file mode 100644 index 0000000..1e2e1a2 --- /dev/null +++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/UnixProcs.h @@ -0,0 +1,229 @@ +/********************************************************************* + + ADOBE SYSTEMS INCORPORATED + Copyright (C) 1996-2006 Adobe Systems Incorporated + All rights reserved. + + NOTICE: Adobe permits you to use, modify, and distribute this file + in accordance with the terms of the Adobe license agreement + accompanying it. If you have received this file from a source other + than Adobe, then your use, modification, or distribution of it + requires the prior written permission of Adobe. + + --------------------------------------------------------------------- + + UnixProcs.h + + - Catalog of functions exported by the Unix Viewer. + +*********************************************************************/ + + +/** + Not Supported. If you wanted this for a dialog, ADM is the preferred way now. + @ see UnixAppGetAppShellGtkWidget + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixAppGetAppShellWidget) + +/** + Not supported. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixAppLoadPlugInAppDefaults) + +/** + Not supported. If you wanted this for the selection server Gtk is the preferred way. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixAppClipboardGetItemId) + +/** + Not supported. Not required with Gtk. Try gtk_main, or better still, g_main_context_iteration(NULL, FALSE). + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixAppDispatchEvent) + +/** + Not supported. Not required with Gtk. Try gtk_main, or better still, g_main_context_iteration(NULL, FALSE). + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixAppProcessEvent) + +/** + Not supported. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixAppWaitForWm) + +/** + Gets the client's file name. The directory can be used to + find auxiliary files for that client. + +

The Acrobat viewer searches all the directories specified + in the systemPlugInPath and userPlugInPath resources to + find clients.

+ + @param thePI The gExtensionID extension registering the + client. + @return The client's file name. The string returned must not be altered + or freed. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NPROC(char *, UnixAppGetPlugInFilename, (ASExtension thePI)) + +/** + Gets the home directory of the user running the Acrobat + viewer. If the HOME environment variable is set, its value + is returned. Otherwise the method looks in the passwd database. + + @return The user's home directory. The string returned by this method + must not be altered or freed. + @see UnixSysGetCwd + @see UnixSysGetHostname + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NPROC(char *, UnixSysGetHomeDirectory, (void)) + +/** + Gets the directory in which the Acrobat viewer is installed. + The launch shell script sets the installation directory + in the environment variable ACRO_INSTALL_DIR. + +

Auxiliary files can be found by concatenating the installation + directory with the configuration name sub-directory:

+ +

installation_dir/config_name

+ + @return The Acrobat viewer's installation directory. + @see UnixSysGetHomeDirectory + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NPROC(char *, UnixSysGetInstallDirectory, (void)) + +/** + Gets the Acrobat viewer's configuration name. The name is + one of the following: + + + + + + + + +
Operating systemConfiguration name
SunOSsparcsun
Solarissparcsolaris
HP-UXhppahpux
Linuxintellinux
IBM AIXrs6000aix
+ +

The Acrobat viewer's launch shell script uses uname to set + the configuration name in the environment variable ACRO_CONFIG.

+ +

Auxiliary files can be found by concatenating the installation + directory with the configuration name sub-directory:

+ +

installation_dir/config_name

+ + @return The Acrobat viewer's configuration name. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NPROC(char *, UnixSysGetConfigName, (void)) + +/** + Gets the host name. + @return The host name. + @see UnixSysGetHomeDirectory + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NPROC(char *, UnixSysGetHostname, (void)) + +/** + Gets the temporary file directory specified by the user. + The default is /tmp. + @return The temporary file directory. + @see UnixSysGetHomeDirectory + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NPROC(char *, UnixSysGetTempFileDirectory, (void)) + +/** + Gets the current working directory. This method tries to + eliminate automounter tmp directories and symbol links. + Using stat, it checks if the environment variable PWD specifies + the same directory returned by getcwd. + @return The current working directory. + @exception genErrNoMemory + @see UnixSysGetHomeDirectory + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NPROC(char *, UnixSysGetCwd, (void)) + +/** + Not supported. The strings can be handled as resources. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixSysGetString) + +/** + Not supported. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixSysGetCursor) + +/** + Not supported. The Icons should be bundled as a resource. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixSysGetIcon) + +/** + Not supported. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixSysGetPixmap) + +/** + Not supported. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixAppAddModifierCallback) + +/** + Not supported. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixAppRemoveModifierCallback) + + +/** + Not supported. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixSysPrefInit) + +/** + Not supported. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NOPROC(UnixSysPrefUpdate) + +/** + Gets the topmost widget of the application. The window is of the type GtkWindow. + @return The Acrobat viewer's application shell widget. + @since PI_UNIX_VERSION >= 0x00020000 +*/ +NPROC(GtkWidget *, UnixAppGetAppShellGtkWidget, (void)) + + + +/** + Returns an appropriate top-level parent window, from which a modal dialog can be parented. + @param avdoc IN The currently active document if known. It can be NULL. + @return An appropriate parent will be determined and returned. This will be a top-level GTK window. +*/ +NPROC(GtkWidget * , UnixAppGetModalParent, (AVDoc avdoc)) + + +/** + Returns an appropriate top-level parent window off which a dialog can be parented. + @return An appropriate parent will be determined and returned. This will be a top-level GTK window. +*/ +NPROC(GtkWidget * , UnixAppGetModelessParent, (void)) -- cgit v1.2.3