// Copyright 2016 The Chromium Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.
#include "sky/services/engine/sky_engine.mojom.h"enumVMType{// An invalid VM configuration.VMTypeInvalid=0,// VM can execute Dart code as an interpreter.VMTypeInterpreter,// VM can execute precompiled Dart code.VMTypePrecompilation,};typedefvoid(^LaunchResult)(BOOLsuccess,NSString*message);@interfaceFlutterDartProject()-(void)launchInEngine:(sky::SkyEnginePtr&)engineembedderVMType:(VMType)typeresult:(LaunchResult)result;@end