summaryrefslogtreecommitdiffstats
path: root/xbmc/threads/IRunnable.h
blob: 32c5b8f5ac0d71f3fd95c3bc5422ad42fa9cc13b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 *  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

class IRunnable
{
public:
  virtual void Run()=0;
  virtual void Cancel() {}
  virtual ~IRunnable() = default;
};