summaryrefslogtreecommitdiff
path: root/windows/runner/flutter_window.h
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2023-12-05 22:40:01 +0200
committeromagdy7 <omar.professional8777@gmail.com>2023-12-05 22:40:01 +0200
commit953b5ce3ad7e933c6f008202346fe5bf2985bf9e (patch)
tree45cbfd660ea224ba095e37292a731522eac5be2f /windows/runner/flutter_window.h
parent3722890dfb243288417d0bbce88bdca99ec7493a (diff)
downloadcarpool-953b5ce3ad7e933c6f008202346fe5bf2985bf9e.tar.xz
carpool-953b5ce3ad7e933c6f008202346fe5bf2985bf9e.zip
Removed uncessary folders for github
Diffstat (limited to 'windows/runner/flutter_window.h')
-rw-r--r--windows/runner/flutter_window.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/windows/runner/flutter_window.h b/windows/runner/flutter_window.h
deleted file mode 100644
index 6da0652..0000000
--- a/windows/runner/flutter_window.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef RUNNER_FLUTTER_WINDOW_H_
-#define RUNNER_FLUTTER_WINDOW_H_
-
-#include <flutter/dart_project.h>
-#include <flutter/flutter_view_controller.h>
-
-#include <memory>
-
-#include "win32_window.h"
-
-// A window that does nothing but host a Flutter view.
-class FlutterWindow : public Win32Window {
- public:
- // Creates a new FlutterWindow hosting a Flutter view running |project|.
- explicit FlutterWindow(const flutter::DartProject& project);
- virtual ~FlutterWindow();
-
- protected:
- // Win32Window:
- bool OnCreate() override;
- void OnDestroy() override;
- LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam,
- LPARAM const lparam) noexcept override;
-
- private:
- // The project to run.
- flutter::DartProject project_;
-
- // The Flutter instance hosted by this window.
- std::unique_ptr<flutter::FlutterViewController> flutter_controller_;
-};
-
-#endif // RUNNER_FLUTTER_WINDOW_H_