// Versioning Information
define('QCUBED_VERSION_NUMBER_ONLY', '3.0.0');
define('QCUBED_VERSION', QCUBED_VERSION_NUMBER_ONLY . ' Beta Release (QCubed ' . QCUBED_VERSION_NUMBER_ONLY . ')');
define('__JQUERY_CORE_VERSION__', '1.9.1');
define('__JQUERY_UI_VERSION__', '1.9.2');
// Preload Required Framework Classes
require __QCUBED_CORE__ . '/base_controls/_enumerations.inc.php';
require __QCUBED_CORE__ . '/base_controls/_utilities.inc.php';
require __QCUBED_CORE__ . '/framework/QBaseClass.class.php';
require __QCUBED_CORE__ . '/framework/QExceptions.class.php';
require __QCUBED_CORE__ . '/framework/QType.class.php';
require __QCUBED_CORE__ . '/framework/QApplicationBase.class.php';
// Setup the Error Handler
require __QCUBED_CORE__ . '/error.inc.php';
// Start Output Buffering (only if not on commandline)
QApplicationBase::StartOutputBuffering();
// Preload Other Framework Classes
require __QCUBED_CORE__ . '/framework/QDatabaseBase.class.php';
require __QCUBED_CORE__ . '/database/QPdoDatabase.class.php';
if (version_compare(PHP_VERSION, '5.2.0', '<')) {
    // Use the Legacy (Pre-5.2.0) QDateTime class
    require __QCUBED_CORE__ . '/framework/QDateTime.legacy.class.php';
} else {
    // Use the New QDateTime class (which extends PHP DateTime)
    require __QCUBED_CORE__ . '/framework/QDateTime.class.php';
}
// Define Classes to be Preloaded on QApplication::Initialize()
QApplicationBase::$PreloadedClassFile['qhtmlattributemanagerbase'] = __QCUBED_CORE__ . '/base_controls/QHtmlAttributeManagerBase.class.php';
QApplicationBase::$PreloadedClassFile['qhtmlattributemanager'] = __QCUBED__ . '/controls/QHtmlAttributeManager.class.php';
QApplicationBase::$PreloadedClassFile['qcontrolbase'] = __QCUBED_CORE__ . '/base_controls/QControlBase.class.php';
QApplicationBase::$PreloadedClassFile['qcontrol'] = __QCUBED__ . '/controls/QControl.class.php';