IconicPath.h 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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: IconicPath.h /main/4 1995/11/02 14:40:49 rswiston $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. *
  27. * FILE: IconicPath.h
  28. *
  29. * COMPONENT_NAME: Desktop File Manager
  30. *
  31. * DESCRIPTION: Definitions used in the IconicPath.c
  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 _DtIconicPath_h
  41. #define _DtIconicPath_h
  42. #include <Xm/Xm.h>
  43. #ifdef __cplusplus
  44. extern "C" {
  45. #endif
  46. /* Class record constants */
  47. externalref WidgetClass dtIconicPathWidgetClass;
  48. typedef struct _DtIconicPathClassRec * DtIconicPathWidgetClass;
  49. typedef struct _DtIconicPathRec * DtIconicPathWidget;
  50. #ifndef XmIsIconicPath
  51. #define XmIsIconicPath(w) (XtIsSubclass (w, dtIconicPathWidgetClass))
  52. #endif
  53. /* New resources */
  54. #define DtNsmallMinWidth "smallMinWidth"
  55. #define DtNlargeMinWidth "largeMinWidth"
  56. #define DtNforceSmallIcons "forceSmallIcons"
  57. #define DtCForceSmallIcons "ForceSmallIcons"
  58. #define DtNforceLargeIcons "forceLargeIcons"
  59. #define DtCForceLargeIcons "ForceLargeIcons"
  60. #define DtNfileMgrRec "fileMgrRec"
  61. #define DtCfileMgrRec "FileMgrRec"
  62. #define DtNcurrentDirectory "currentDirectory"
  63. #define DtCCurrentDirectory "CurrentDirectory"
  64. #define DtNlargeIcons "largeIcons"
  65. #define DtCLargeIcons "LargeIcons"
  66. #define DtNiconsChanged "iconsChanged"
  67. #define DtCIconsChanged "IconsChanged"
  68. /******** Public Function Declarations ********/
  69. extern Widget _DtCreateIconicPath(
  70. Widget p,
  71. String name,
  72. ArgList args,
  73. Cardinal n) ;
  74. extern void DtUpdateIconicPath(
  75. FileMgrRec *file_mgr_rec,
  76. FileMgrData *file_mgr_data,
  77. Boolean icons_changed) ;
  78. /******** End Public Function Declarations ********/
  79. #ifdef __cplusplus
  80. } /* Close scope of 'extern "C"' declaration which encloses file. */
  81. #endif
  82. #endif /* _DtIconicPath_h */
  83. /* DON'T ADD ANYTHING AFTER THIS #endif */