QTContentRestrictions.h
上传用户:xjjlds
上传日期:2015-12-05
资源大小:22823k
文件大小:2k
源码类别:

多媒体编程

开发平台:

Visual C++

  1. /*
  2.      File:       QTContentRestrictions.h
  3.  
  4.      Contains:   QuickTime Interfaces.
  5.  
  6.      Version:    Technology: QuickTime 6.0
  7.                  Release:    QuickTime 6.0.2
  8.  
  9.      Copyright:  (c) 1990-2001 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:      For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17. /*****
  18.     Content Restrictions
  19. *****/
  20. #ifndef __QTCONTENTRESTRICTIONS__
  21. #define __QTCONTENTRESTRICTIONS__
  22. #if PRAGMA_ONCE
  23. #pragma once
  24. #endif
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28. #if PRAGMA_IMPORT
  29. #pragma import on
  30. #endif
  31. #if PRAGMA_STRUCT_ALIGN
  32.     #pragma options align=mac68k
  33. #elif PRAGMA_STRUCT_PACKPUSH
  34.     #pragma pack(push, 2)
  35. #elif PRAGMA_STRUCT_PACK
  36.     #pragma pack(2)
  37. #endif
  38. enum {
  39.     kQTRestrictionClassSave     = FOUR_CHAR_CODE('save'),
  40.     kQTRestrictionSaveDontAddMovieResource = (1L << 0),
  41.     kQTRestrictionSaveDontFlatten = (1L << 1),
  42.     kQTRestrictionSaveDontExport = (1L << 2),
  43.     kQTRestrictionSaveDontExtract = (1L << 3),                  /* don't allow any form of extraction of content*/
  44.     kQTRestrictionClassEdit     = FOUR_CHAR_CODE('edit'),
  45.     kQTRestrictionEditDontCopy  = (1L << 0),                    /* disable copy */
  46.     kQTRestrictionEditDontCut   = (1L << 1),                    /* disable cut */
  47.     kQTRestrictionEditDontPaste = (1L << 2),                    /* disable paste */
  48.     kQTRestrictionEditDontClear = (1L << 3),                    /* disable clear*/
  49.     kQTRestrictionEditDontModify = (1L << 4),                   /* don't allow modification of content*/
  50.     kQTRestrictionEditDontExtract = (1L << 5)                   /* don't allow any form of extraction of content*/
  51. };
  52. #if PRAGMA_STRUCT_ALIGN
  53.     #pragma options align=reset
  54. #elif PRAGMA_STRUCT_PACKPUSH
  55.     #pragma pack(pop)
  56. #elif PRAGMA_STRUCT_PACK
  57.     #pragma pack()
  58. #endif
  59. #ifdef PRAGMA_IMPORT_OFF
  60. #pragma import off
  61. #elif PRAGMA_IMPORT
  62. #pragma import reset
  63. #endif
  64. #ifdef __cplusplus
  65. }
  66. #endif
  67. #endif /* __QTCONTENTRESTRICTIONS__ */