blob: 9d92abe94d8c3b30bc463237061d11915f82f05a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#include "version.h"
#include "names.h"
#include <qmessagebox.h>
bool CheckVersion(int& major, int& bkmktype, char& minor)
{
if (
(major != MAJOR)
||
(bkmktype != BKMKTYPE)
||
(minor != MINOR)
)
{
major = MAJOR;
bkmktype = BKMKTYPE;
minor = MINOR;
QMessageBox::warning(NULL, PROGNAME,
"New Features in this version\n\n\n"
"Relative margin settings\n"
"Cyrillic hyphenation");
return true;
}
else
{
return false;
}
}
|