fileio.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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: fileio.h /main/5 1995/11/01 16:14:03 rswiston $ */
  24. /***************************************************************************/
  25. /* */
  26. /* fileio.h */
  27. /* */
  28. /***************************************************************************/
  29. #ifndef _FILEIO_H_INCLUDED
  30. #define _FILEIO_H_INCLUDED
  31. #ifndef STORAGECLASS
  32. #ifdef NOEXTERN
  33. #define STORAGECLASS
  34. #else
  35. #define STORAGECLASS extern
  36. #endif
  37. #endif
  38. /***************************************************************************/
  39. /* */
  40. /* Prototypes for functions */
  41. /* */
  42. /***************************************************************************/
  43. extern ushort WriteDefinitionFile(char *, ActionData *);
  44. extern ushort WriteActionFile(ActionData *);
  45. extern Boolean check_file_exists(char *);
  46. extern int OpenDefinitionFile(char *, ActionData *);
  47. extern ushort CopyIconFiles(ActionData *);
  48. extern char * CreateIconName(char *, char *, enum icon_size_range, char *, Boolean);
  49. extern Boolean ActionHasIcon (void);
  50. extern Boolean FiletypeHasIcon (FiletypeData *);
  51. #endif /* _FILEIO_H_INCLUDED */