18108eb18Smrg/* $Xorg: save.h,v 1.4 2001/02/09 02:06:01 xorgcvs Exp $ */ 28108eb18Smrg/****************************************************************************** 38108eb18Smrg 48108eb18SmrgCopyright 1993, 1998 The Open Group 58108eb18Smrg 68108eb18SmrgPermission to use, copy, modify, distribute, and sell this software and its 78108eb18Smrgdocumentation for any purpose is hereby granted without fee, provided that 88108eb18Smrgthe above copyright notice appear in all copies and that both that 98108eb18Smrgcopyright notice and this permission notice appear in supporting 108108eb18Smrgdocumentation. 118108eb18Smrg 128108eb18SmrgThe above copyright notice and this permission notice shall be included in 138108eb18Smrgall copies or substantial portions of the Software. 148108eb18Smrg 158108eb18SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 168108eb18SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 178108eb18SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 188108eb18SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 198108eb18SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 208108eb18SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 218108eb18Smrg 228108eb18SmrgExcept as contained in this notice, the name of The Open Group shall not be 238108eb18Smrgused in advertising or otherwise to promote the sale, use or other dealings 248108eb18Smrgin this Software without prior written authorization from The Open Group. 258108eb18Smrg******************************************************************************/ 268108eb18Smrg/* $XFree86: xc/programs/xsm/save.h,v 1.5 2001/08/01 00:45:07 tsi Exp $ */ 278108eb18Smrg 288108eb18Smrg#ifndef _SAVE_H_ 298108eb18Smrg#define _SAVE_H_ 308108eb18Smrg 318108eb18Smrg#include <X11/Intrinsic.h> 328108eb18Smrg#include "list.h" 338108eb18Smrg 348108eb18Smrgextern void DoSave(int saveType, int interactStyle, Bool fast); 358108eb18Smrgextern void LetClientInteract(List *cl); 368108eb18Smrgextern void StartPhase2(void); 378108eb18Smrgextern void FinishUpSave(void); 388108eb18Smrgextern void SetSaveSensitivity(Bool on); 398108eb18Smrgextern void SavePopupStructureNotifyXtHandler(Widget w, XtPointer closure, 408108eb18Smrg XEvent *event, 418108eb18Smrg Boolean *continue_to_dispatch); 428108eb18Smrgextern void create_save_popup(void); 438108eb18Smrgextern void PopupSaveDialog(void); 448108eb18Smrgextern void CheckPointXtProc(Widget w, XtPointer client_data, 458108eb18Smrg XtPointer callData); 468108eb18Smrgextern void ShutdownSaveXtProc(Widget w, XtPointer client_data, 478108eb18Smrg XtPointer callData); 488108eb18Smrgextern void PopupBadSave(void); 498108eb18Smrgextern void ShutdownDontSaveXtProc(Widget w, XtPointer client_data, 508108eb18Smrg XtPointer callData); 518108eb18Smrg 528108eb18Smrg#endif 53