#include "stdinc.h"
#include "bastypes.h"
//#include "twotec.h"

void ConUtilPrintHeader (tU8*_APPNAME,tU8*_APPVERSION,tU8*_APPCOPYRIGHTDATE,tU8*_COMPANYNAME,tU8*_HOMEPAGEURL,tU8*_INFOEMAIL,tU8*_SUPPORTEMAIL,tU8*_SHAREHOLDER1NAME,tU8*_SHAREHOLDER1EMAIL,tU8*_SHAREHOLDER2NAME,tU8*_SHAREHOLDER2EMAIL)
{
  printf ("\n");
  printf ("/----------------------------------------------------------------------\n");
  printf ("|\n");
  printf ("| %s, Ver.%s\n", _APPNAME, _APPVERSION);
  printf ("| Copyright (c) %s by %s\n", _APPCOPYRIGHTDATE, _COMPANYNAME);
  printf ("|\n");
  printf ("| Homepage: %s\n", _HOMEPAGEURL);
  printf ("| Info    : %s\n", _INFOEMAIL);
  printf ("| Support : %s\n", _SUPPORTEMAIL);
  printf ("|\n");
  printf ("| %s, %s\n",_SHAREHOLDER1NAME, _SHAREHOLDER1EMAIL);
  if (strcmp(_SHAREHOLDER2NAME,"")) {
  printf ("| %s, %s\n",_SHAREHOLDER2NAME, _SHAREHOLDER2EMAIL);
  }
  printf ("|\n");
  printf ("\\----------------------------------------------------------------------\n");
  printf ("\n");
}

void ConUtilPrintDone (tU32 ErrorNum, tU8 *ErrorMsg)
{
  printf ("\n");
  printf ("/----------------------------------------------------------------------\n");
  printf ("| ...Done, ExitCode=%d, ExitMessage=%s\n", ErrorNum, ErrorMsg);
  printf ("\\----------------------------------------------------------------------\n");
  printf ("\n");
}

