| 4023 | } |
| 4024 | |
| 4025 | const char * Config::getVirtualDisplayViewRule(const char * view) const noexcept |
| 4026 | { |
| 4027 | if (!view) return ""; |
| 4028 | |
| 4029 | // Get the view rule for the case where a virtual view is shared |
| 4030 | if (isVirtualViewShared(view)) |
| 4031 | { |
| 4032 | return getDisplayViewRule(nullptr, view); |
| 4033 | } |
| 4034 | |
| 4035 | ViewVec::const_iterator iter = FindView(getImpl()->m_virtualDisplay.m_views, view); |
| 4036 | if (iter != getImpl()->m_virtualDisplay.m_views.end()) |
| 4037 | { |
| 4038 | return iter->m_rule.c_str(); |
| 4039 | } |
| 4040 | |
| 4041 | return ""; |
| 4042 | } |
| 4043 | |
| 4044 | const char * Config::getVirtualDisplayViewDescription(const char * view) const noexcept |
| 4045 | { |