Exemplo n.º 1
0
 void operator()(Parm1_type _parm)
 {
     if( !m_isBlocked )
     {
         m_delegate(_parm);
     }
 }
        //--------------------------------------------------
        //--------------------------------------------------
		void GooglePlayRemoteNotificationSystem::OnRemoteTokenReceived(const std::string& in_token)
		{
			m_token = ChilliSource::BaseEncoding::Base64Encode(in_token);
			if(m_delegate != nullptr)
			{
				m_delegate(m_token);
				m_delegate = nullptr;
			}
		}
Exemplo n.º 3
0
void Thread::Run()
{
    m_delegate();
}