a8786b4c1c
Introduce core application structure and browser management: add NebulaController and run entry (src/app/*) to centralize window, tab and CEF lifecycle logic; implement TabManager and NebulaTab (src/browser/*) for tab creation, navigation and state tracking; add URL utilities (NormalizeNavigationInput, JsonEscape) and CEF browser client glue (src/cef/browser_client.cpp/.h) to forward chrome commands and content events. Update app/main.cpp to delegate startup to nebula::app::RunNebula. Add UI assets (chrome.html, chrome.css, chrome.js, lucide, menu-popup updates) and remove obsolete nebot.html. Update CMakeLists to include new sources, add ${CMAKE_SOURCE_DIR}/src to includes and link dwmapi on Windows. Overall this refactors startup and splits responsibilities for cleaner tab and browser lifecycle handling.
14 lines
373 B
C++
14 lines
373 B
C++
#include <windows.h>
|
|
|
|
#include "app/run.h"
|
|
|
|
int APIENTRY wWinMain(HINSTANCE instance,
|
|
HINSTANCE previous_instance,
|
|
LPWSTR command_line,
|
|
int show_command) {
|
|
UNREFERENCED_PARAMETER(previous_instance);
|
|
UNREFERENCED_PARAMETER(command_line);
|
|
|
|
return nebula::app::RunNebula(instance, show_command);
|
|
}
|