AppController.h#

Parent directory (EntryPoint\NSApplicationMain)

Class necessary for the entry point of the AppKit based implementation of PVRShell.

Includes#

  • AppKit/NSApplication.h

  • Foundation/NSTimer.h

  • PVRCore/commandline/CommandLine.h

  • PVRShell/StateMachine.h

Classes#

Source Code#

#ifndef _APPCONTROLLER_H_
#define _APPCONTROLLER_H_

#include "PVRShell/StateMachine.h"
#include "PVRCore/commandline/CommandLine.h"
#import <AppKit/NSApplication.h>
#import <Foundation/NSTimer.h>

@interface AppController : NSObject<NSApplicationDelegate>
{
    NSTimer* mainLoopTimer;
    pvr::platform::StateMachine* stateMachine;
    pvr::platform::CommandLineParser commandLine;
}

- (void)terminateApp;

@end

#endif //_APPCONTROLLER_H_