MBNNHistoryReader.h 877 B

123456789101112131415161718192021222324252627
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNHistoryRecord;
  4. NS_SWIFT_NAME(HistoryReader)
  5. __attribute__((visibility ("default")))
  6. @interface MBNNHistoryReader : NSObject
  7. // This class provides custom init which should be called
  8. - (nonnull instancetype)init NS_UNAVAILABLE;
  9. // This class provides custom init which should be called
  10. + (nonnull instancetype)new NS_UNAVAILABLE;
  11. /** @param path to history file */
  12. - (nonnull instancetype)initWithPath:(nonnull NSString *)path;
  13. /**
  14. * returns next event in history file, if no events left returns null
  15. * Note: HistoryReader skips all "context" events (which are separated with "SeparatorEvent").
  16. * Context events are not available for reading through HistoryReader interface.
  17. */
  18. - (nullable MBNNHistoryRecord *)next __attribute((ns_returns_retained));
  19. @end