Jelajahi Sumber

moving TaskIndex namespace to task.hpp

logicp 4 tahun lalu
induk
melakukan
108d73a8e2
1 mengubah file dengan 1 tambahan dan 8 penghapusan
  1. 1 8
      src/mainwindow.cpp

+ 1 - 8
src/mainwindow.cpp

@@ -323,14 +323,7 @@ void MainWindow::onMessageReceived(int t, const QString& message, StringVec v) {
     qDebug() << "Unknown update type. Cannot update UI";
   }
 }
-namespace TaskIndex {
-static constexpr uint32_t ERROR = 0x03;
-static constexpr uint32_t UUID = 0x00;
-static constexpr uint32_t ID = 0x01;
-static constexpr uint32_t MASK = 0x02;
-static constexpr uint32_t ENVFILE = 0x03;
-static constexpr uint32_t FILENUM = 0x04;
-} // namespace TaskInfo
+
 /**
  * @brief MainWindow::parseTaskInfo
  * @param v