annotate src/main.cc @ 98:582b2fca1561

strings: parse HTML entities when reading synopsis, make the toupper and tolower functions more sane
author Paper <mrpapersonic@gmail.com>
date Thu, 02 Nov 2023 15:22:02 -0400
parents 9b2b41f83a5e
children 2004b41d4a59
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
1 #include "core/session.h"
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
2 #include "gui/window.h"
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
3 #include <QApplication>
46
d0adc4aedfc8 *: update...
Paper <mrpapersonic@gmail.com>
parents: 11
diff changeset
4 #include <QStyleFactory>
98
582b2fca1561 strings: parse HTML entities when reading synopsis, make the
Paper <mrpapersonic@gmail.com>
parents: 81
diff changeset
5 #include <QLocale>
10
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
6
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
7 Session session;
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
8
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
9 int main(int argc, char** argv) {
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
10 QApplication app(argc, argv);
98
582b2fca1561 strings: parse HTML entities when reading synopsis, make the
Paper <mrpapersonic@gmail.com>
parents: 81
diff changeset
11 /* this is a reasonable default, I presume */
582b2fca1561 strings: parse HTML entities when reading synopsis, make the
Paper <mrpapersonic@gmail.com>
parents: 81
diff changeset
12 QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));
10
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
13
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
14 session.config.Load();
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
15
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
16 MainWindow window;
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
17
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
18 window.resize(941, 750);
11
fc1bf97c528b *: use C++11 standard
Paper <mrpapersonic@gmail.com>
parents: 10
diff changeset
19 window.setWindowTitle("Minori");
10
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
20 window.show();
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
21
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
22 return app.exec();
46
d0adc4aedfc8 *: update...
Paper <mrpapersonic@gmail.com>
parents: 11
diff changeset
23 }