2 \file IMsgTargetCallback.h
6 #ifndef GUILIB_IMSGTARGETCALLBACK
7 #define GUILIB_IMSGTARGETCALLBACK
12 * Copyright (C) 2005-2013 Team XBMC
15 * This Program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation; either version 2, or (at your option)
20 * This Program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
25 * You should have received a copy of the GNU General Public License
26 * along with XBMC; see the file COPYING. If not, see
27 * <http://www.gnu.org/licenses/>.
31 #include "GUIMessage.h"
37 class IMsgTargetCallback
40 virtual bool OnMessage(CGUIMessage& message) = 0;
41 virtual ~IMsgTargetCallback() {}