MainWindow::MainWindow(QSettings *settings, QWidget *parent) : QMainWindow(parent), mSettings(settings) { setWindowTitle("Tibia Eye"); setupSearchPaths(); mFancyTab = new FancyTabWidget(this); setCentralWidget(mFancyTab); mOptions = new OptionsView(this); readSettings(); createDefaultViews(); setMinimumWidth(780); setMinimumHeight(515); mModeManager = new ModeManager(); mMemoryInjection = new MemoryInjection(); mRSA = new RSA(); mRSA->setDecryptKey(ConstTibia::OTServPrivateRSA_P, ConstTibia::OTServPrivateRSA_Q, ConstTibia::OTServPrivateRSA_D); mRSA->setEncryptKey(ConstTibia::CipPublicRSA); }
PluginFactory::PluginFactory() { setupSearchPaths(); discoverPlugins(); }