27 lines
654 B
C++
27 lines
654 B
C++
// Watchful Eye main file
|
|
#include "pch.h"
|
|
|
|
#include "version.h"
|
|
#include "Application.h"
|
|
|
|
// Enable visual styles
|
|
#pragma comment(linker, "\"/manifestdependency:type='win32' \
|
|
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \
|
|
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
|
|
|
#define APPNAME "Watchful Eye"
|
|
|
|
// ======== Configuration ========
|
|
#define MAX_MINUTES 15
|
|
#define DRIVE_TO_DETECT "D:"
|
|
// ===============================
|
|
|
|
int main(int argc, char* argv[]) {
|
|
{
|
|
watchfuleye::Application app(APPNAME, APPVERSION, MAX_MINUTES, DRIVE_TO_DETECT);
|
|
app.run();
|
|
}
|
|
|
|
return EXIT_SUCCESS;
|
|
}
|