Exemplo n.º 1
0
Arquivo: main.c Projeto: Ikem/udgasser
/*********************************************************************//*!
 * @brief Program entry
 *
 * @param argc Command line argument count.
 * @param argv Command line argument strings.
 * @return 0 on success
 *//*********************************************************************/
int main(const int argc, const char * argv[])
{
	OSC_ERR err = SUCCESS;

	err = init(argc, argv);
	if (err != SUCCESS)
	{
		OscLog(ERROR, "%s: Initialization failed!(%d)\n", __func__, err);
		return err;
	}
	OscLog(INFO, "Initialization successful!\n");

	OscLogSetConsoleLogLevel(INFO);
	OscLogSetFileLogLevel(WARN);

	//StateControl();

	mainDemo();

	Unload();
	return 0;
}
Exemplo n.º 2
0
void MainWindow::on_actionDemo_triggered()
{
    mainDemo("../qt_bgslibrary/dataset/video.avi");
}