You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
549 B

#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "configuration.h"
#include "miniwebcam.h"
void ErrorExit(std::string text, int errorcode) {
printf ("Error: %s\n", text.c_str());
exit (errorcode);
}
int main(int argc, char **argv) {
config.LoadArgs (argc, argv);
if (config.GetInitFlags() & CONF_INITFLAGS_PRINT) {
config.Print();
return 0;
}
if (config.GetInitFlags() & CONF_INITFLAGS_HELP) {
config.Help();
return 0;
}
printf ("MiniWebCam:\n");
return 0;
};