MBNNRouterFactory.h 919 B

1234567891011121314151617181920212223242526272829
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxNavigationNative/MBNNRouterType.h>
  4. @class MBNNCacheHandle;
  5. @class MBNNConfigHandle;
  6. @class MBNNHistoryRecorderHandle;
  7. @protocol MBNNRouterInterface;
  8. /**
  9. * Constructs router object with given dependencies
  10. * @param `type` indicate which kind of router should be created
  11. * @param `cache` cache created with `CacheFactory`
  12. * @param `config` config created with `ConfigFactory`
  13. * @param `historyRecorder` history recorder created with `HistoryRecorderHandle::build()` method
  14. */
  15. NS_SWIFT_NAME(RouterFactory)
  16. __attribute__((visibility ("default")))
  17. @interface MBNNRouterFactory : NSObject
  18. // This class provides custom init which should be called
  19. - (nonnull instancetype)init NS_UNAVAILABLE;
  20. // This class provides custom init which should be called
  21. + (nonnull instancetype)new NS_UNAVAILABLE;
  22. @end