Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
Program.h
Go to the documentation of this file.
1#pragma once
2
3#include <Utility/IUninstantiable.h>
4#include <Common/primitive_type.h>
5
6namespace ph::editor
7{
8
9class Program final : private IUninstantiable
10{
11public:
15 static uint64 getStartTime();
16
17private:
18 static uint64 startTime;
19
20// Methods for the entry point to call only.
21private:
22 friend int application_entry_point(int argc, char* argv[]);
23
24 // Called right after program start. Guaranteed to be on main thread.
25 static void programStart();
26
27 // Called right before program exit. Guaranteed to be on main thread.
28 static void programExit();
29};
30
31}// end namespace ph::editor
Definition Program.h:10
static uint64 getStartTime()
Definition Program.cpp:15
friend int application_entry_point(int argc, char *argv[])
Main function for the editor application.
Definition ph_editor.cpp:119
Definition ph_editor.h:10