author | groucho <groucho> | 2003-05-07 14:10:02 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-05-07 14:10:02 (UTC) |
commit | 6bfdfc1c4fab71196b0d40f08c209d7819874686 (patch) (side-by-side diff) | |
tree | 2fbb90c597135de21d3ec997203a3ffe92f9aeb5 /noncore/apps/opie-reader/version.cpp | |
parent | b836e3690fbe639b95041999c800d86280985451 (diff) | |
download | opie-6bfdfc1c4fab71196b0d40f08c209d7819874686.zip opie-6bfdfc1c4fab71196b0d40f08c209d7819874686.tar.gz opie-6bfdfc1c4fab71196b0d40f08c209d7819874686.tar.bz2 |
Hopefully things are now fixed in CVS
Diffstat (limited to 'noncore/apps/opie-reader/version.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/version.cpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/version.cpp b/noncore/apps/opie-reader/version.cpp new file mode 100644 index 0000000..3796b67 --- a/dev/null +++ b/noncore/apps/opie-reader/version.cpp @@ -0,0 +1,39 @@ +#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, + "This is the first time that you have\n" + "run this version of OpieReader.\n\n" + "There are two new icons visible at\n" + "the left end of the toolbar. The left\n" + "one brings up the menus, the next\n" + "one brings up the settings dialog.\n\n" + "Start by tapping the settings icon\n" + "and selecting the Buttons tab to\n" + "make sure that the buttons are\n" + "mapped as you expect\n\n" + "Next go to Settings/Toolbars via the\n" + "menu icon to set up your toolbars."); +*/ + return true; + } + else + { + return false; + } +} |