Remove the ReturnCode class

It was over-engineered and no longer needed.

Change-Id: Iac337f8c8bf1e1a376a1fbc44fc053ec02c76542
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
diff --git a/src/hei_user_interface.hpp b/src/hei_user_interface.hpp
index 9fa908d..e8740f3 100644
--- a/src/hei_user_interface.hpp
+++ b/src/hei_user_interface.hpp
@@ -72,12 +72,13 @@
  *                   address (right justified), which is provided to the
  *                   isolator by the user application via the Chip Data Files.
  *
- * @return RC_SUCCESS or RC_REG_ACCESS_FAILURE. Note that in the case of a
- *         failure the user application is responsible for reporting why the
- *         register access failed.
+ * @return false => register access was successful
+ *         true  => hardware access failure
+ *         Note that in the case of a failure, the user application is
+ *         responsible for reporting why the register access failed.
  */
-ReturnCode registerRead(const Chip& i_chip, void* o_buffer, size_t& io_bufSize,
-                        uint64_t i_regType, uint64_t i_address);
+bool registerRead(const Chip& i_chip, void* o_buffer, size_t& io_bufSize,
+                  uint64_t i_regType, uint64_t i_address);
 
 #ifndef __HEI_READ_ONLY
 
@@ -105,12 +106,13 @@
  *                   address (right justified), which is provided to the
  *                   isolator by the user application via the Chip Data Files.
  *
- * @return RC_SUCCESS or RC_REG_ACCESS_FAILURE. Note that in the case of a
- *         failure the user application is responsible for reporting why the
- *         register access failed.
+ * @return false => register access was successful
+ *         true  => hardware access failure
+ *         Note that in the case of a failure, the user application is
+ *         responsible for reporting why the register access failed.
  */
-ReturnCode registerWrite(const Chip& i_chip, void* i_buffer, size_t& io_bufSize,
-                         uint64_t i_regType, uint64_t i_address);
+bool registerWrite(const Chip& i_chip, void* i_buffer, size_t& io_bufSize,
+                   uint64_t i_regType, uint64_t i_address);
 
 // used by HEI_INF macro in this library
 void hei_inf(char* format, ...); // implemented in user application