//
//  Application.cpp
//  Framework
//
//  Created by John Ryland on 4/10/17.
//  Copyright © 2017 John Ryland. All rights reserved.
//

#include "Application.h"
#include "../Platform/Platform.h"


Application::Application(int argc, const char* argv[])
{
  for (int i = 0; i < argc; i++)
    m_args.push_back(argv[i]);
  InitApplication(m_args);
}


Application::~Application()
{
  DeinitApplication(m_args);
}


int Application::run()
{
  return RunApplication(m_args);
}

