home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / Framewrk / FWPart / FWPrtDef.h < prev    next >
Encoding:
Text File  |  1996-09-17  |  2.4 KB  |  69 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWPrtDef.h
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWPRTDEF_H
  11. #define FWPRTDEF_H
  12.  
  13. //========================================================================================
  14. //    Storage kind
  15. //========================================================================================
  16.  
  17. typedef short FW_StorageKinds;
  18.  
  19. const FW_StorageKinds FW_kClipboardStorage             = 0x0001;
  20. const FW_StorageKinds FW_kDragAndDropStorage         = 0x0002;
  21. const FW_StorageKinds FW_kLinkStorage                = 0x0004;
  22. const FW_StorageKinds FW_kPartStorage                 = 0x0008;
  23. const FW_StorageKinds FW_kFileStorage                 = 0x0010;
  24.  
  25. const FW_StorageKinds FW_kDataInterchangeStorage     = FW_kClipboardStorage | FW_kDragAndDropStorage | FW_kLinkStorage;
  26. const FW_StorageKinds FW_kAllStorage                 = FW_kDataInterchangeStorage | FW_kPartStorage;
  27.  
  28. //========================================================================================
  29. //    Import/Export support
  30. //========================================================================================
  31.  
  32. typedef short FW_ImportExport;
  33.  
  34. const FW_ImportExport FW_kNoImportExport     = 0x0000;            // No import or export
  35. const FW_ImportExport FW_kImport             = 0x1000;            // Import is supported
  36. const FW_ImportExport FW_kExportEnabled     = 0x2000;            // Export is supported
  37. const FW_ImportExport FW_kExportDisabled     = 0x4000;            // Export is supported but currently disabled
  38.  
  39. const FW_ImportExport FW_kImportExportEnabled = FW_kImport | FW_kExportEnabled;
  40. const FW_ImportExport FW_kImportExportDisabled = FW_kImport | FW_kExportDisabled;
  41.  
  42. //========================================================================================
  43. //    Internalize result
  44. //========================================================================================
  45.  
  46. enum FW_EInternalizeResult
  47. {
  48.     FW_kInternalizeFailed,
  49.     FW_kInternalizeContent,
  50.     FW_kInternalizeFrame,
  51.     FW_kInternalizePart
  52. };
  53.  
  54. //========================================================================================
  55. //    Start/Stop Drag
  56. //========================================================================================
  57.  
  58. enum FW_EPrivDraggingFlags
  59. {
  60.     FW_kStartDrag,
  61.     FW_kDragAborted,
  62.     FW_kDragMove,
  63.     FW_kDragCopy
  64. };
  65.  
  66.  
  67. #endif
  68.  
  69.