summaryrefslogtreecommitdiffstats
path: root/xbmc/guilib/IMsgTargetCallback.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/guilib/IMsgTargetCallback.h')
-rw-r--r--xbmc/guilib/IMsgTargetCallback.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/xbmc/guilib/IMsgTargetCallback.h b/xbmc/guilib/IMsgTargetCallback.h
new file mode 100644
index 0000000..09d888e
--- /dev/null
+++ b/xbmc/guilib/IMsgTargetCallback.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2005-2018 Team Kodi
+ * This file is part of Kodi - https://kodi.tv
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ * See LICENSES/README.md for more information.
+ */
+
+#pragma once
+
+/*!
+\file IMsgTargetCallback.h
+\brief
+*/
+
+#include "GUIMessage.h"
+
+/*!
+ \ingroup winman
+ \brief
+ */
+class IMsgTargetCallback
+{
+public:
+ virtual bool OnMessage(CGUIMessage& message) = 0;
+ virtual ~IMsgTargetCallback() = default;
+};