rename plugin from PolyvoxFilament to FlutterFilament
rename plugin from PolyvoxFilament to FlutterFilament
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
project(polyvox_filament_example LANGUAGES CXX)
|
||||
project(flutter_filament_example LANGUAGES CXX)
|
||||
|
||||
set(BINARY_NAME "polyvox_filament_example")
|
||||
set(BINARY_NAME "flutter_filament_example")
|
||||
|
||||
cmake_policy(SET CMP0063 NEW)
|
||||
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
|
||||
#include "generated_plugin_registrant.h"
|
||||
|
||||
#include <flutter_filament/flutter_filament_plugin_c_api.h>
|
||||
#include <permission_handler_windows/permission_handler_windows_plugin.h>
|
||||
#include <polyvox_filament/polyvox_filament_plugin_c_api.h>
|
||||
|
||||
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
||||
FlutterFilamentPluginCApiRegisterWithRegistrar(
|
||||
registry->GetRegistrarForPlugin("FlutterFilamentPluginCApi"));
|
||||
PermissionHandlerWindowsPluginRegisterWithRegistrar(
|
||||
registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin"));
|
||||
PolyvoxFilamentPluginCApiRegisterWithRegistrar(
|
||||
registry->GetRegistrarForPlugin("PolyvoxFilamentPluginCApi"));
|
||||
}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
#
|
||||
|
||||
list(APPEND FLUTTER_PLUGIN_LIST
|
||||
flutter_filament
|
||||
permission_handler_windows
|
||||
polyvox_filament
|
||||
)
|
||||
|
||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||
|
||||
@@ -90,12 +90,12 @@ BEGIN
|
||||
BLOCK "040904e4"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "app.polyvox" "\0"
|
||||
VALUE "FileDescription", "polyvox_filament_example" "\0"
|
||||
VALUE "FileDescription", "flutter_filament_example" "\0"
|
||||
VALUE "FileVersion", VERSION_AS_STRING "\0"
|
||||
VALUE "InternalName", "polyvox_filament_example" "\0"
|
||||
VALUE "InternalName", "flutter_filament_example" "\0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2022 app.polyvox. All rights reserved." "\0"
|
||||
VALUE "OriginalFilename", "polyvox_filament_example.exe" "\0"
|
||||
VALUE "ProductName", "polyvox_filament_example" "\0"
|
||||
VALUE "OriginalFilename", "flutter_filament_example.exe" "\0"
|
||||
VALUE "ProductName", "flutter_filament_example" "\0"
|
||||
VALUE "ProductVersion", VERSION_AS_STRING "\0"
|
||||
END
|
||||
END
|
||||
|
||||
@@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
|
||||
FlutterWindow window(project);
|
||||
Win32Window::Point origin(10, 10);
|
||||
Win32Window::Size size(1280, 720);
|
||||
if (!window.CreateAndShow(L"polyvox_filament_example", origin, size)) {
|
||||
if (!window.CreateAndShow(L"flutter_filament_example", origin, size)) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
window.SetQuitOnClose(true);
|
||||
|
||||
Reference in New Issue
Block a user