Create pcap object and log monitored events

Change-Id: I2d7b3a449e2c9c1d5a0627161f8e85dcaca1e087
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
diff --git a/powercap.hpp b/powercap.hpp
index 878822b..ff457f8 100644
--- a/powercap.hpp
+++ b/powercap.hpp
@@ -60,6 +60,28 @@
      */
     void pcapChanged(sdbusplus::message::message& msg);
 
+    /** @brief Look up DBUS service for input path/interface
+     *
+     * @param[in]  path       - DBUS path
+     * @param[in]  path       - DBUS interface
+     *
+     * @return Distinct service name for input path/interface
+     */
+    std::string getService(std::string path,
+                           std::string interface);
+
+    /** @brief Get the power cap property
+     *
+     * @return Power cap, 0 on failure to indicate no pcap
+     */
+    uint32_t getPcap();
+
+    /** @brief Get the power cap enable property
+     *
+     * @return Whether power cap enabled, will return false on error
+     */
+    bool getPcapEnabled();
+
     /** @brief Reference to sdbus **/
     sdbusplus::bus::bus& bus;