Skip to content
slc.cc 425 B
Newer Older
Seblu's avatar
Seblu committed

#include <getopt.h>

#include "slc.hh"
#include "options.hh"
Seblu's avatar
Seblu committed
#include "screen.hh"
Seblu's avatar
Seblu committed
#include "history.hh"
Seblu's avatar
Seblu committed

Screen S;
Seblu's avatar
Seblu committed
History H(HISTORY_SIZE);
Seblu's avatar
Seblu committed

/*!
** Program entry point
**
** @param argc arg count
** @param argv arg vector
**
** @return program err code
*/
int main(int argc, char *argv[])
{
  Options o;

  // get options
  o.load(argc, argv);

Seblu's avatar
Seblu committed
  // Create graphic env
  S.init();
Seblu's avatar
Seblu committed

  // Processing
Seblu's avatar
Seblu committed
  S.run();
Seblu's avatar
Seblu committed

  return 0;
}