Flutter Engine
flutter::DartProject Class Reference

#include <dart_project.h>

Public Member Functions

 DartProject (const std::wstring &path)
 
 ~DartProject ()=default
 
void set_dart_entrypoint_arguments (std::vector< std::string > arguments)
 
const std::vector< std::string > & dart_entrypoint_arguments () const
 

Friends

class FlutterEngine
 
class FlutterViewController
 
class DartProjectTest
 

Detailed Description

Definition at line 14 of file dart_project.h.

Constructor & Destructor Documentation

◆ DartProject()

flutter::DartProject::DartProject ( const std::wstring &  path)
inlineexplicit

Definition at line 24 of file dart_project.h.

References ~DartProject().

24  {
25  assets_path_ = path + L"\\flutter_assets";
26  icu_data_path_ = path + L"\\icudtl.dat";
27  aot_library_path_ = path + L"\\app.so";
28  }
DEF_SWITCHES_START snapshot asset path
Definition: switches.h:32

◆ ~DartProject()

flutter::DartProject::~DartProject ( )
default

Referenced by DartProject().

Member Function Documentation

◆ dart_entrypoint_arguments()

const std::vector<std::string>& flutter::DartProject::dart_entrypoint_arguments ( ) const
inline

Definition at line 40 of file dart_project.h.

Referenced by flutter::FlutterEngine::FlutterEngine().

40  {
41  return dart_entrypoint_arguments_;
42  }

◆ set_dart_entrypoint_arguments()

void flutter::DartProject::set_dart_entrypoint_arguments ( std::vector< std::string >  arguments)
inline

Definition at line 34 of file dart_project.h.

Referenced by flutter::TEST().

34  {
35  dart_entrypoint_arguments_ = std::move(arguments);
36  }

Friends And Related Function Documentation

◆ DartProjectTest

friend class DartProjectTest
friend

Definition at line 51 of file dart_project.h.

◆ FlutterEngine

friend class FlutterEngine
friend

Definition at line 49 of file dart_project.h.

◆ FlutterViewController

friend class FlutterViewController
friend

Definition at line 50 of file dart_project.h.


The documentation for this class was generated from the following file: