home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / SourceCode / MiscKit / Headers / misckit / MiscInfo.h < prev    next >
Encoding:
Text File  |  1994-03-23  |  1.8 KB  |  51 lines

  1. //
  2. //    MiscInfo.h -- a class to sit underneath an Info panel
  3. //        Written by Don Yacktman Copyright (c) 1994 by Don Yacktman.
  4. //                Version 1.0.  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. //    Version            - string to represent version number on info panel
  22. //    VersionDate        - string to represent date of current version (info panel)
  23. //
  24. // In the future, if the string table isn't in the .nib file, we'll try
  25. // to load it from the right .lproj directory.  Right now, that won't happen.
  26. // However, if a string table is not found, then the InfoController's
  27. // string table will be used instead.
  28. //
  29.  
  30. @interface MiscInfo : Object
  31. {
  32.     id    strings;            // localized strings -- see docs for what's needed
  33.     id    controller;            // MiscInfoController instance
  34.  
  35.     id    infoPanel;            // the window we order front
  36.     id  niftyView;            // animated view inside of an info panel
  37.     id  versionText;        // textfield to display app version number
  38.     id  versionDateText;    // textfield to display app version date
  39.     id  regText;            // textfield to display registered serial num
  40. }
  41.  
  42. - init;
  43. - setController:sender;
  44. - niftyView;
  45. - (const char *)versionString;
  46. - (const char *)versionDateString;
  47. - infoPanel;
  48. - info:sender;
  49.  
  50. @end
  51.