src/bmsapp.h

changeset 6
f8474f2c5db9
parent 3
4b95e33ee476
child 11
c9cdc15d3caf
equal deleted inserted replaced
5:22baafbf770d 6:f8474f2c5db9
49 49
50 /** 50 /**
51 * @brief Blocking call that executes the application. 51 * @brief Blocking call that executes the application.
52 * @return Exit code from the application. 52 * @return Exit code from the application.
53 */ 53 */
54 static int run(); 54 static int run(bool useDevelop, bool startConfig);
55 55
56 private: 56 private:
57 static MainWindow* m_mainWindow; 57 static MainWindow* m_mainWindow;
58 58
59 /** 59 /**
64 64
65 /** 65 /**
66 * @brief Run before showing MainWindow, does all system setup. 66 * @brief Run before showing MainWindow, does all system setup.
67 * @return false if anything goes awry, true if it's ok to start MainWindow. 67 * @return false if anything goes awry, true if it's ok to start MainWindow.
68 */ 68 */
69 static bool initialize(); 69 static bool initialize(bool useDevelop);
70 70
71 /** 71 /**
72 * @brief Run after QApplication exits to clean up shit, close database, etc. 72 * @brief Run after QApplication exits to clean up shit, close database, etc.
73 */ 73 */
74 static void cleanup(); 74 static void cleanup();

mercurial