LeechCraft 0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
ijobholder.h File Reference
#include <memory>
#include <QtPlugin>
#include "interfaces/structures.h"
Include dependency graph for ijobholder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LC::ProcessInfo
 Describes a process represented by a row in an IJobHolder model. More...
struct  LC::NewsInfo
struct  LC::RowInfo
class  IJobHolderRepresentationHandler
class  IJobHolder
 Interface for plugins holding jobs or persistent notifications. More...

Namespaces

namespace  LC

Typedefs

using LC::SpecificInfo
using IJobHolderRepresentationHandler_ptr = std::unique_ptr<IJobHolderRepresentationHandler>

Enumerations

enum class  LC::ProcessKind : std::uint8_t {
  LC::Download ,
  LC::Upload ,
  LC::Generic
}
enum class  LC::ProcessState : std::uint8_t {
  LC::Running ,
  LC::Paused ,
  LC::Finished ,
  LC::Error ,
  LC::Unknown
}
enum class  LC::JobHolderRole { LC::RowInfo = MaxValue<CustomDataRoles> + 1 }
 This enum contains roles that are used to query job states. More...
enum class  LC::JobHolderProcessRole {
  LC::Done = MaxValue<JobHolderRole> + 1 ,
  LC::Total ,
  LC::ProgressCustomText ,
  LC::State ,
  LC::StateCustomText
}

Functions

constexpr int LC::operator+ (JobHolderRole role) noexcept
constexpr int LC::operator+ (JobHolderProcessRole role) noexcept

Variables

template<>
constexpr int LC::MaxValue< JobHolderRole > = +JobHolderRole::RowInfo
template<>
constexpr int LC::MaxValue< JobHolderProcessRole > = +JobHolderProcessRole::StateCustomText

Typedef Documentation

◆ IJobHolderRepresentationHandler_ptr

Definition at line 172 of file ijobholder.h.