aboutsummaryrefslogtreecommitdiff
path: root/xbmc/IProgressCallback.h
blob: 7de790fcef28fdef0c2973b16e1206a5f96b23ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 *  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 IProgressCallback
{
public:
  virtual ~IProgressCallback() = default;
  virtual void SetProgressMax(int max)=0;
  virtual void SetProgressAdvance(int nSteps=1)=0;
  virtual bool Abort()=0;
};