cec: renamed enum methods. fixes potential macro collision with isset(). thanks davilla
[deb_libcec.git] / src / LibCecSharp / LibCecSharp.cpp
index c72e0dd2d62ec04f8a817cdd387f890e81aee8fc..ea37291258a228548ad1da99ba0ed677ec933481 100644 (file)
@@ -421,12 +421,12 @@ public:
   bool Transmit(CecCommand ^ command)
   {
     cec_command ccommand;
-    cec_command::format(ccommand, (cec_logical_address)command->Initiator, (cec_logical_address)command->Destination, (cec_opcode)command->Opcode);
+    cec_command::Format(ccommand, (cec_logical_address)command->Initiator, (cec_logical_address)command->Destination, (cec_opcode)command->Opcode);
     ccommand.transmit_timeout = command->TransmitTimeout;
     ccommand.eom              = command->Eom;
     ccommand.ack              = command->Ack;
     for (unsigned int iPtr = 0; iPtr < command->Parameters->Size; iPtr++)
-      ccommand.parameters.push_back(command->Parameters->Data[iPtr]);
+      ccommand.parameters.PushBack(command->Parameters->Data[iPtr]);
 
     return m_libCec->Transmit(ccommand);
   }