Refactored manifest onStart/onStop to onCreate/onDestroy (#195)
When writing documentation, I realized how `onStart`/`onStop` isn't clearly communicating what it does (it could imply show/hide), so I renamed it to `onCreate` and `onDestroy`.
This commit is contained in:
committed by
GitHub
parent
6c67845645
commit
7856827ecf
@@ -17,14 +17,14 @@ void tt_app_register(
|
||||
manifest->icon,
|
||||
(tt::app::CreateData)manifest->createData,
|
||||
(tt::app::DestroyData)manifest->destroyData,
|
||||
(tt::app::OnStart)manifest->onStart,
|
||||
(tt::app::OnStop)manifest->onStop,
|
||||
(tt::app::OnCreate)manifest->onCreate,
|
||||
(tt::app::OnDestroy)manifest->onDestroy,
|
||||
(tt::app::OnShow)manifest->onShow,
|
||||
(tt::app::OnHide)manifest->onHide,
|
||||
(tt::app::OnResult)manifest->onResult
|
||||
);
|
||||
#else
|
||||
tt_crash("TactilityC is intended for PC/Simulator");
|
||||
tt_crash("TactilityC is not intended for PC/Simulator");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user