home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Headers / misckit / MiscInfoController.h < prev    next >
Encoding:
Text File  |  1994-12-10  |  1.9 KB  |  60 lines

  1. //
  2. //    MiscInfoController.h -- a class to handle the guts under an Info menu
  3. //        Written by Don Yacktman Copyright (c) 1994 by Don Yacktman.
  4. //                Version 1.2.  All rights reserved.
  5. //
  6. //        This notice may not be removed from this source code.
  7. //
  8. //    This object is included in the MiscKit by permission from the author
  9. //    and its use is governed by the MiscKit license, found in the file
  10. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  11. //    for a list of all applicable permissions and restrictions.
  12. //    
  13.  
  14. #import <appkit/appkit.h>
  15.  
  16. // This object uses a NXStringTable to hold all the localizeable things
  17. // that we would want to have.  It's expected that you connect up a
  18. // string table in the .nib for this object.
  19. //
  20. // Here is a list of the keys that you can and should put in the table:
  21. //
  22. //    AuthorEMail        - e-mail address to whom feedback should be sent
  23. //    AuthorName        - Appelation used to address person feedback goes to
  24. //    MailMessage        - Text of email message to send feedback to; should have
  25. //                        a %s at the start to address the feedback recipient
  26. //                        and a second %s in the body to bring out the name
  27. //                        of the application.
  28.  
  29. @interface MiscInfoController : Object
  30. {
  31.     id    strings;        // localized strings -- see docs as to what's needed
  32.     id    info;
  33.     id    orderForm;
  34.     id    registration;    // basic registration panel
  35.     MiscString *_licenseFileName;    // path to License.rtfd from x.app/Help
  36.     MiscString *_releaseNotesFileName;    // path to release notes
  37. }
  38.  
  39. - info;
  40. - orderForm;
  41. - registration;
  42. - info:sender;
  43. - orderForm:sender;
  44. - registration:sender;
  45. - releaseNotes:sender;
  46. - license:sender;
  47. - suggestion:sender;
  48. - hideOrShowMenus:sender;
  49.  
  50. // To change the filenames used to open the Help panel to specific pages
  51. - (MiscString *)licenseFile;
  52. - (MiscString *)releaseNotesFile;
  53. - setLicenseFile:(MiscString *)aPath;
  54. - setReleaseNotesFile:(MiscString *)aPath;
  55.  
  56. - init;
  57. - free;
  58.  
  59. @end
  60.