aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
blob: 3383363be7554b0a08ce85499b2d5372245e89fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "../include/QuickMedia.hpp"
#include <X11/Xlib.h>
#include <libgen.h>
#include <unistd.h>

int main(int argc, char **argv) {
    chdir(dirname(argv[0]));
    setlocale(LC_ALL, "C"); // Sigh... stupid C
    XInitThreads();
    QuickMedia::Program program;
    return program.run(argc, argv);
}