Commit de5e675a authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Minor fixes

parent 5f9373d7
......@@ -37,7 +37,7 @@
#define VA_MUTAL_EXCLUDE VistaMutexLock oLock( m_oCommandMutex )
// State checking macro
#define VA_REQUIRE_CONNECTED { if( m_pParent->IsConnected() == false ) VA_EXCEPT2( MODAL_ERROR, "Not connected." ); }
#define VA_REQUIRE_CONNECTED { if( m_pParent->GetConnected() == false ) VA_EXCEPT2( MODAL_ERROR, "Not connected." ); }
////////////////////////////////////////////////
......@@ -996,14 +996,14 @@ public:
m_pProtocol->ClientGetSoundPortalIDs( viIDs );
};
inline std::string GetPortalName( const int iID ) const
inline std::string GetSoundPortalName( const int iID ) const
{
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundPortalName( iID );
};
inline void SetPortalName( const int iPortalID, const std::string& sName )
inline void SetSoundPortalName( const int iPortalID, const std::string& sName )
{
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
......
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