LeechCraft  0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
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

class  QList< T >
 
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

 LC
 

Typedefs

using LC::SpecificInfo = std::variant< ProcessInfo, NewsInfo >
 
using IJobHolderRepresentationHandler_ptr = std::unique_ptr< IJobHolderRepresentationHandler >
 

Enumerations

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