home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Languages / python / PyObjC-0.47-MIHS / pyobjc-0.47-src / Include / PyServicesDelegate.h < prev   
Encoding:
Text File  |  1996-10-04  |  1.2 KB  |  52 lines

  1. /**
  2. *** Copyright (c) 1996 by Bill Bumgarner.  All Rights Reserved
  3. *** 
  4. *** This software may be used and distributed freely for any purpose
  5. *** provided that this notice is included unchanged on any and all copies.
  6. *** The author does not warrant or guarantee this software in any way.
  7. *** 
  8. *** 
  9. *** All queries, patches, and discussions of the PyObjC project should be
  10. *** directed to <objc-sig@python.org>.  The author can be reached via
  11. *** <bbum@friday.com>.
  12. *** 
  13. *** $RCSfile: PyServicesDelegate.h,v $
  14. *** 
  15. *** $Revision: 1.1 $
  16. *** 
  17. *** $Date: 1996/10/04 20:56:29 $
  18. *** 
  19. **/
  20.  
  21. @class Pasteboard;
  22.  
  23. @interface PyServicesDelegate : Object
  24. {
  25.     id <PythonObject> handler; /*" python object that will handle service "*/
  26.     const char *errMessageStore; /*" temporary store for error message "*/
  27. }
  28.  
  29. /*"
  30.  *  Instantiation
  31. "*/
  32. + newWithHandler: (id <PythonObject>) aHandler; 
  33. - initWithHandler: (id <PythonObject>) aHandler;
  34.  
  35. /*"
  36.  *  Destruction
  37. "*/
  38. - free;
  39.  
  40. /*"
  41.  *  Setting the error message
  42. "*/
  43. - (void) setErrorMessage: (const char *) aMessage;
  44.  
  45. /*"
  46.  * Services Handler
  47. "*/
  48. - forwardService: (Pasteboard *) pb
  49.     userData: (const char *)userData
  50.        error: (char **)errorMessage;
  51. @end
  52.