Blame view

main.c 232 Bytes
e583b6a9   henyxia   First version
1
  #include <stdio.h>
ae25085d   henyxia   Output function done
2
  #include "printx.h"
ea1218f1   henyxia   UI finished
3
  #include "ui.h"
e583b6a9   henyxia   First version
4
5
6
  
  int main(void)
  {
ea1218f1   henyxia   UI finished
7
8
9
10
11
12
  	initUILog();
  	if(!initLog())
  	{
  		printf("Log creation failed\n");
  		return 1;
  	}
ae25085d   henyxia   Output function done
13
  	printx(INFO, "Tweekd starting\n");
ea1218f1   henyxia   UI finished
14
  	displayUI();
ae25085d   henyxia   Output function done
15
  	closeLog();
e583b6a9   henyxia   First version
16
17
  	return 0;
  }