[ExecString] combine SplitParameters with identical function of CUtil
[xbmc.git] / xbmc / IProgressCallback.h
blob7de790fcef28fdef0c2973b16e1206a5f96b23ab
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 class IProgressCallback
13 public:
14 virtual ~IProgressCallback() = default;
15 virtual void SetProgressMax(int max)=0;
16 virtual void SetProgressAdvance(int nSteps=1)=0;
17 virtual bool Abort()=0;