49 lines
1.0 KiB
Plaintext
49 lines
1.0 KiB
Plaintext
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#import "OpenVulkanoAppDelegate.h"
|
|
|
|
#include "Base/AppEvents.hpp"
|
|
|
|
using namespace openVulkanoCpp;
|
|
|
|
@interface OpenVulkanoAppDelegate ()
|
|
|
|
@end
|
|
|
|
@implementation OpenVulkanoAppDelegate
|
|
|
|
- (void)applicationWillResignActive:(UIApplication *)application
|
|
{
|
|
AppEvents::OnWillResignActive();
|
|
}
|
|
|
|
- (void)applicationDidEnterBackground:(UIApplication *)application
|
|
{
|
|
AppEvents::OnDidEnterBackground();
|
|
}
|
|
|
|
- (void)applicationWillEnterForeground:(UIApplication *)application
|
|
{
|
|
AppEvents::OnWillEnterForeground();
|
|
}
|
|
|
|
- (void)applicationDidBecomeActive:(UIApplication *)application
|
|
{
|
|
AppEvents::OnDidBecomeActive();
|
|
}
|
|
|
|
- (void)applicationWillTerminate:(UIApplication *)application
|
|
{
|
|
AppEvents::OnWillTerminate();
|
|
}
|
|
|
|
- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application
|
|
{
|
|
AppEvents::OnReceivedMemoryWarning();
|
|
}
|
|
|
|
@end |