/*********************************************************************
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.
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
Operating system | Configuration name |
---|---|
SunOS | sparcsun |
Solaris | sparcsolaris |
HP-UX | hppahpux |
Linux | intellinux |
IBM AIX | rs6000aix |
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
/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))