| 101 | } |
| 102 | |
| 103 | const char * SystemMonitorsImpl::getProfileFilepath(size_t index) const |
| 104 | { |
| 105 | if (index >= m_monitors.size()) |
| 106 | { |
| 107 | std::ostringstream oss; |
| 108 | oss << "Invalid index for the monitor name " << index |
| 109 | << " where the number of monitors is " << m_monitors.size() << "."; |
| 110 | throw Exception(oss.str().c_str()); |
| 111 | } |
| 112 | |
| 113 | return m_monitors[index].m_ICCFilepath.c_str(); |
| 114 | } |
| 115 | |
| 116 | std::string SystemMonitorsImpl::GetICCProfileFromMonitorName(const char * monitorName) |
| 117 | { |
no test coverage detected