Confirmed.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  6. * These libraries and programs are free software; you can
  7. * redistribute them and/or modify them under the terms of the GNU
  8. * Lesser General Public License as published by the Free Software
  9. * Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. *
  12. * These libraries and programs are distributed in the hope that
  13. * they will be useful, but WITHOUT ANY WARRANTY; without even the
  14. * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  15. * PURPOSE. See the GNU Lesser General Public License for more
  16. * details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with these libraries and programs; if not, write
  20. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  21. * Floor, Boston, MA 02110-1301 USA
  22. */
  23. /* $XConsortium: Confirmed.h /main/4 1995/11/01 16:05:43 rswiston $ */
  24. /*******************************************************************************
  25. Confirmed.h
  26. This header file is included by Confirmed.c
  27. *******************************************************************************/
  28. #ifndef _CONFIRMED_H_INCLUDED
  29. #define _CONFIRMED_H_INCLUDED
  30. #include <stdio.h>
  31. #include <Xm/MessageB.h>
  32. /*******************************************************************************
  33. Declarations of global functions.
  34. *******************************************************************************/
  35. void display_confirmed_message (Widget parent, char *message);
  36. void display_question_message (Widget parent, char *message,
  37. char *button1, XtCallbackProc cb_button1,
  38. char *button2, XtCallbackProc cb_button2,
  39. char *button3, XtCallbackProc cb_button3);
  40. void cancelCB_QuestionDialog(Widget UxWidget,
  41. XtPointer UxClientData,
  42. XtPointer UxCallbackArg);
  43. void saveCB_QuestionDialog(Widget UxWidget,
  44. XtPointer UxClientData,
  45. XtPointer UxCallbackArg);
  46. void nosaveCB_QuestionDialog(Widget UxWidget,
  47. XtPointer UxClientData,
  48. XtPointer UxCallbackArg);
  49. #endif /* _CONFIRMED_H_INCLUDED */