summaryrefslogtreecommitdiffstats
path: root/xbmc/video/jobs/VideoLibraryProgressJob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/video/jobs/VideoLibraryProgressJob.cpp')
-rw-r--r--xbmc/video/jobs/VideoLibraryProgressJob.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/xbmc/video/jobs/VideoLibraryProgressJob.cpp b/xbmc/video/jobs/VideoLibraryProgressJob.cpp
new file mode 100644
index 0000000..0aab524
--- /dev/null
+++ b/xbmc/video/jobs/VideoLibraryProgressJob.cpp
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2014-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.
+ */
+
+#include "VideoLibraryProgressJob.h"
+
+CVideoLibraryProgressJob::CVideoLibraryProgressJob(CGUIDialogProgressBarHandle* progressBar)
+ : CProgressJob(progressBar)
+{ }
+
+CVideoLibraryProgressJob::~CVideoLibraryProgressJob() = default;
+
+bool CVideoLibraryProgressJob::DoWork()
+{
+ bool result = CVideoLibraryJob::DoWork();
+
+ MarkFinished();
+
+ return result;
+}