diff options
Diffstat (limited to 'src/usr/vpd/cvpd.C')
-rw-r--r-- | src/usr/vpd/cvpd.C | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/usr/vpd/cvpd.C b/src/usr/vpd/cvpd.C index a21eaaa62..4abc9bdf8 100644 --- a/src/usr/vpd/cvpd.C +++ b/src/usr/vpd/cvpd.C @@ -36,6 +36,7 @@ #include <vfs/vfs.H> #include <vpd/vpdreasoncodes.H> #include <vpd/cvpdenums.H> +#include <vpd/vpd_if.H> #include <config.h> #include "cvpd.H" #include "vpd.H" @@ -183,6 +184,19 @@ namespace CVPD }; // end namespace CVPD +// -------------------------------------------------------- +// Presence Detection +//--------------------------------------------------------- +bool VPD::cvpdPresent( TARGETING::Target * i_target ) +{ + return Singleton<CvpdFacade>::instance().hasVpdPresent( i_target, + CVPD::VEIR, + CVPD::PF ); +} + + + + //CVPD Class Functions /** * @brief Constructor |