Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

43 lines
668 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef IMESSAGELISTENER_H
#define IMESSAGELISTENER_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui/VGUI.h>
class KeyValues;
namespace vgui
{
enum MessageSendType_t
{
MESSAGE_SENT = 0,
MESSAGE_POSTED,
MESSAGE_RECEIVED
};
class VPanel;
class IMessageListener
{
public:
virtual void Message( VPanel* pSender, VPanel* pReceiver,
KeyValues* pKeyValues, MessageSendType_t type ) = 0;
};
IMessageListener* MessageListener();
}
#endif // IMESSAGELISTENER_H