ChangeDir.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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: ChangeDir.h /main/3 1995/11/02 14:34:52 rswiston $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. *
  27. * FILE: ChangeDir.h
  28. *
  29. * COMPONENT_NAME: Desktop File Manager
  30. *
  31. * DESCRIPTION: Public include file for the change directory dialog.
  32. *
  33. * (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
  34. * (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
  35. * (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
  36. * (c) Copyright 1993, 1994, 1995 Novell, Inc.
  37. *
  38. ****************************************************************************
  39. ************************************<+>*************************************/
  40. #ifndef _ChangeDir_h
  41. #define _ChangeDir_h
  42. extern DialogClass * changeDirClass;
  43. typedef struct
  44. {
  45. Boolean displayed;
  46. Position x;
  47. Position y;
  48. Dimension width;
  49. Dimension height;
  50. char * host_name;
  51. XmString string_path;
  52. XmStringTable history_list;
  53. int visible_count;
  54. int list_count;
  55. XtPointer file_mgr_rec;
  56. } ChangeDirData, * ChangeDirDataPtr;
  57. typedef struct
  58. {
  59. XtCallbackProc callback;
  60. XtPointer change_dir_rec;
  61. XtPointer client_data;
  62. } ChangeDirApply;
  63. typedef struct
  64. {
  65. Widget shell;
  66. Widget change_dir;
  67. ChangeDirApply * apply_data;
  68. } ChangeDirRec;
  69. #endif /* _ChangeDir_h */
  70. /* DON'T ADD ANYTHING AFTER THIS #endif */