mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove deprecated FlutterInit. (#3550)
This commit is contained in:
parent
4c05830aaf
commit
4eac09481e
@ -23,13 +23,4 @@ FLUTTER_EXPORT
|
||||
- (void)handleStatusBarTouches:(UIEvent*)event;
|
||||
@end
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
// Initializes Flutter for this process. Need only be called once per process.
|
||||
FLUTTER_EXPORT void FlutterInit(int argc, const char* argv[])
|
||||
__attribute__((deprecated("This call is no longer necessary and will be "
|
||||
"removed in an upcoming release.")));
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif // FLUTTER_FLUTTERVIEWCONTROLLER_H_
|
||||
|
||||
@ -54,10 +54,6 @@ class PlatformMessageResponseDarwin : public blink::PlatformMessageResponse {
|
||||
FlutterTextInputDelegate>
|
||||
@end
|
||||
|
||||
void FlutterInit(int argc, const char* argv[]) {
|
||||
// Deprecated. To be removed.
|
||||
}
|
||||
|
||||
@implementation FlutterViewController {
|
||||
fml::scoped_nsprotocol<FlutterDartProject*> _dartProject;
|
||||
UIInterfaceOrientationMask _orientationPreferences;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user