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; + } +} |