Updateing API

parent 342d70f2
......@@ -151,11 +151,11 @@ public:
return m_pProtocol->ClientGetCoreConfiguration( bFilterEnabled );
};
inline CVAStruct GetHardwareConfiguration( const bool bFilterEnabled = true ) const
inline CVAStruct GetHardwareConfiguration() const
{
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetHardwareConfiguration( bFilterEnabled );
return m_pProtocol->ClientGetHardwareConfiguration();
};
inline CVAStruct GetFileList( const bool bRecursive = true, const std::string& sFileSuffixMask = "*" ) const
......
......@@ -789,10 +789,9 @@ void CVANetNetworkProtocol::ServerGetCoreConfiguration()
pMsg->WriteVAStruct( oCoreConfig );
}
CVAStruct CVANetNetworkProtocol::ClientGetHardwareConfiguration( const bool bFilterEnabled )
CVAStruct CVANetNetworkProtocol::ClientGetHardwareConfiguration()
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_GET_HARDWARE_CONFIGURATION, MESSAGE_WITH_ANSWER );
pMsg->WriteBool( bFilterEnabled );
ClientSendCommand( pMsg );
CVAStruct oHWConfig;
pMsg->ReadVAStruct( oHWConfig );
......@@ -801,8 +800,7 @@ CVAStruct CVANetNetworkProtocol::ClientGetHardwareConfiguration( const bool bFil
void CVANetNetworkProtocol::ServerGetHardwareConfiguration()
{
CVANetMessage* pMsg = ServerGetMessage();
const bool bFilterEnabled = pMsg->ReadBool();
const CVAStruct oHWConfig = m_pRealCore->GetHardwareConfiguration( bFilterEnabled );
const CVAStruct oHWConfig = m_pRealCore->GetHardwareConfiguration();
pMsg->WriteVAStruct( oHWConfig );
}
......
......@@ -413,7 +413,7 @@ public:
CVAStruct ClientGetCoreConfiguration( const bool bFilterEnabled = true );
void ServerGetCoreConfiguration();
CVAStruct ClientGetHardwareConfiguration( const bool bFilterEnabled = true );
CVAStruct ClientGetHardwareConfiguration();
void ServerGetHardwareConfiguration();
CVAStruct ClientGetFileList( const bool bRecursive = true, const std::string& sSuffixFilter = "*" );
void ServerGetFileList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment