![]() |
Mixxx
|
00001 /*************************************************************************** 00002 upgrade.h - description 00003 ------------------- 00004 begin : Mon Apr 13 2009 00005 copyright : (C) 2009 by Sean M. Pappalardo 00006 email : pegasus@c64.org 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef UPGRADE_H 00019 #define UPGRADE_H 00020 00021 class Upgrade 00022 { 00023 public: 00024 Upgrade(); 00025 ~Upgrade(); 00026 ConfigObject<ConfigValue>* versionUpgrade(); 00027 bool isFirstRun() { return m_bFirstRun; }; 00028 bool isUpgraded() { return m_bUpgraded; }; 00029 private: 00030 bool m_bFirstRun; 00031 bool m_bUpgraded; 00032 }; 00033 00034 #endif