home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-Developer.iso / NextLibrary / Frameworks / Foundation.framework / Versions / B / Headers / NSProtocolChecker.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-25  |  553 b   |  27 lines

  1. /*    NSProtocolChecker.h
  2.     Message filtering
  3.     Copyright 1995-1996, NeXT Software, Inc.  All rights reserved.
  4. */
  5.  
  6. #if !defined(STRICT_OPENSTEP)
  7.  
  8. #import <Foundation/NSProxy.h>
  9. #import <Foundation/NSObject.h>
  10.  
  11. @interface NSProtocolChecker : NSProxy
  12.  
  13. - (Protocol *)protocol;
  14. - (NSObject *)target;
  15.  
  16. @end
  17.  
  18. @interface NSProtocolChecker (NSProtocolCheckerCreation)
  19.  
  20. + (id)protocolCheckerWithTarget:(NSObject *)anObject protocol:(Protocol *)aProtocol;
  21. - (id)initWithTarget:(NSObject *)anObject protocol:(Protocol *)aProtocol;
  22.  
  23. @end
  24.  
  25. #endif /* !STRICT_OPENSTEP */
  26.  
  27.