xbmc
AutorunMediaJob.h
1 /*
2  * Copyright (C) 2005-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "utils/Job.h"
12 
13 #include <string>
14 
15 class CAutorunMediaJob : public CJob
16 {
17 public:
18  CAutorunMediaJob(const std::string &label, const std::string &path);
19 
20  bool DoWork() override;
21 private:
22  const char *GetWindowString(int selection);
23 
24  std::string m_path, m_label;
25 };
Base class for jobs that are executed asynchronously.
Definition: Job.h:109
bool DoWork() override
Main workhorse function of CJob instances.
Definition: AutorunMediaJob.cpp:27
Definition: AutorunMediaJob.h:15