forked from iwamatsu/slim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
25 lines (20 loc) · 677 Bytes
/
main.cpp
File metadata and controls
25 lines (20 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SLiM - Simple Login Manager
Copyright (C) 1997, 1998 Per Liden
Copyright (C) 2004-06 Simone Rota <sip@varlock.com>
Copyright (C) 2004-06 Johannes Winkelmann <jw@tks6.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
*/
#include "app.h"
#include "const.h"
App* LoginApp = 0;
int main(int argc, char** argv)
{
// We need to set the locale to get the input encoded in UTF-8
setlocale (LC_ALL, "");
LoginApp = new App(argc, argv);
LoginApp->Run();
return 0;
}