summaryrefslogtreecommitdiffstats
path: root/src/usr/vpd/mvpd.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/vpd/mvpd.C')
-rw-r--r--src/usr/vpd/mvpd.C10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/usr/vpd/mvpd.C b/src/usr/vpd/mvpd.C
index b9d411298..0e9801984 100644
--- a/src/usr/vpd/mvpd.C
+++ b/src/usr/vpd/mvpd.C
@@ -36,6 +36,7 @@
#include <vfs/vfs.H>
#include <vpd/vpdreasoncodes.H>
#include <vpd/mvpdenums.H>
+#include <vpd/vpd_if.H>
#include <config.h>
#include "mvpd.H"
@@ -179,6 +180,15 @@ namespace MVPD
}; // end MVPD namespace
+// ---------------------------------------------------------
+// Presence Detection
+// ---------------------------------------------------------
+bool VPD::mvpdPresent( TARGETING::Target * i_target )
+{
+ return Singleton<MvpdFacade>::instance().hasVpdPresent( i_target,
+ MVPD::CP00,
+ MVPD::VD );
+}
//MVPD Class Functions
OpenPOWER on IntegriCloud