* @brief Returns the scripting language for the global frame parser (source 0). */
| 1069 | * @brief Returns the scripting language for the global frame parser (source 0). |
| 1070 | */ |
| 1071 | int DataModel::ProjectModel::frameParserLanguage() const |
| 1072 | { |
| 1073 | if (m_sources.empty()) |
| 1074 | return 0; |
| 1075 | |
| 1076 | return m_sources[0].frameParserLanguage; |
| 1077 | } |
| 1078 | |
| 1079 | /** |
| 1080 | * @brief Returns the scripting language for the source, or source 0's. |
no test coverage detected