author | groucho <groucho> | 2003-05-07 09:20:31 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-05-07 09:20:31 (UTC) |
commit | 6fc02cae4bd1fe3478e6e34575f481236ce5ede8 (patch) (side-by-side diff) | |
tree | 1ef986f52464733a7ea7f58c03d25d7e3524f542 /noncore/apps/opie-reader/version.cpp | |
parent | 118d03d815a7615b9c53363218a7ac45b3f4c514 (diff) | |
download | opie-6fc02cae4bd1fe3478e6e34575f481236ce5ede8.zip opie-6fc02cae4bd1fe3478e6e34575f481236ce5ede8.tar.gz opie-6fc02cae4bd1fe3478e6e34575f481236ce5ede8.tar.bz2 |
Hopefully, everything is in place now
Diffstat (limited to 'noncore/apps/opie-reader/version.cpp') (more/less context) (ignore 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; + } +} |