Cybah
Emperor
- Joined
- Jun 22, 2007
- Messages
- 1,481
CyCity.h
CyCity.cpp
On compiling I get this error:
What is missing/wrong?
I want to get access through python.
PHP:
bool isWeLoveTheKingDay() const;
void setWeLoveTheKingDay(bool bWeLoveTheKingDay);
CyCity.cpp
PHP:
bool CyCity::isWeLoveTheKingDay()
{
return m_pCity ? m_pCity->isWeLoveTheKingDay() : false;
}
void CyCity::setWeLoveTheKingDay(bool bNewValue)
{
if (m_pCity)
m_pCity->setWeLoveTheKingDay(bNewValue);
}
On compiling I get this error:
PHP:
1>CyCity.cpp(2261) : error C2511: 'bool CyCity::isWeLoveTheKingDay(void)' : overloaded member function not found in 'CyCity'
What is missing/wrong?
I want to get access through python.