home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP Advantage / NeXTstep_Advantage.img / YourCallServer / callData.h < prev    next >
Text File  |  1993-04-14  |  941b  |  30 lines

  1. /* You may freely copy, distribute and reuse the code in this example.
  2.  * NeXT disclaims any warranty of any kind, expressed or implied, as to
  3.  * its fitness for any particular use.
  4.  *
  5.  * This protocol specifies methods for accessing call data
  6.  * 
  7.  * CallRecord implements this protocol within the CallServer application.
  8.  * The CallClient application knows about these methods only through this
  9.  * protocol; it doesn't need to know about the CallRecord class that actually
  10.  * implements them.  
  11.  */
  12.  
  13. @protocol CallData
  14. - (const char *)name;
  15. - setName:(const char *)theName;
  16. - (const char *)street;
  17. - setStreet:(const char *)theStreet;
  18. - (const char *)city;
  19. - setCity:(const char *)theCity;
  20. - (const char *)state;
  21. - setState:(const char *)theState;
  22. - (const char *)phone;
  23. - setPhone:(const char *)thePhone;
  24. - (const char *)question;
  25. - setQuestion:(const char *)theQuestion;
  26. - (const char *)answer;
  27. - setAnswer:(const char *)theAnswer;
  28. @end
  29.  
  30.