-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReflection.cpp
More file actions
35 lines (27 loc) · 966 Bytes
/
Copy pathReflection.cpp
File metadata and controls
35 lines (27 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include <ntstatus.h>
#include <ranges>
#include <print>
#include <Windows.h>
#include "Components/Class Manager/ClassManager.h"
#include "Components/Config/Config.h"
#include "Components/FontManager/FontManager.h"
#include "Components/Layout/Dissector/Grid/Grid.h"
#include "Components/Notifications/Notifications.h"
#include "Components/Renderer/Renderer.h"
#include "Components/Theme Manager/Theme Manager.h"
#include "Definitions/Globals.h"
#include "Libraries/Aether/Aether.h"
#include "Definitions/NtDefs.h"
int main()
{
Config::Initialize();
ClassManager::Initialize();
if ( !Renderer::Window::Initialize() ) return 1;
Themes::Manager::Initialize();
Renderer::FontManager::Initialize();
Renderer::Window::ApplyWindowData();
const uint32_t SelfPID = GetProcessId( reinterpret_cast<HANDLE>( -1 ) );
const auto Status = Process::Attach( SelfPID );
Renderer::Layout::Grid::OnAttachProcess( SelfPID, Status );
Renderer::Window::Execute();
}