LeechCraft Azoth  0.6.70-18450-gabe19ee3b0
Modular multiprotocol IM plugin for LeechCraft
LC::Azoth::History Namespace Reference

Classes

struct  Entry
 
struct  EntryDescr
 
struct  EntryDescr< EntryKind::Chat >
 
struct  EntryDescr< EntryKind::MUC >
 
struct  EntryDescr< EntryKind::PrivateChat >
 
struct  EntryDescrWithEndpoint
 
struct  EntryEndpoint
 
struct  EntryEndpoint< EntryKind::Chat >
 
struct  EntryEndpoint< EntryKind::MUC >
 
struct  EntryEndpoint< EntryKind::PrivateChat >
 
struct  NewMessage
 
struct  SelfEndpoint
 

Typedefs

template<template< EntryKind K > typename Kinded>
using KindedGADT = std::variant< Kinded< EntryKind::Chat >, Kinded< EntryKind::MUC >, Kinded< EntryKind::PrivateChat > >
 
using SomeEntryDescr = KindedGADT< EntryDescr >
 
template<EntryKind K>
using Endpoint = std::variant< SelfEndpoint, EntryEndpoint< K > >
 
using SomeEntryDescrWithEndpoint = KindedGADT< EntryDescrWithEndpoint >
 
template<EntryKind K>
using EntryWithMessages = std::pair< Entry< K >, QList< NewMessage< K > >>
 
using SomeEntryWithMessages = KindedGADT< EntryWithMessages >
 

Enumerations

enum  EntryKind : std::uint8_t { EntryKind::Chat, EntryKind::MUC, EntryKind::PrivateChat }
 

Functions

template<template< EntryKind K > typename EntryKinded>
EntryKind GetEntryKind (const KindedGADT< EntryKinded > &gadt)
 

Typedef Documentation

◆ Endpoint

template<EntryKind K>
using LC::Azoth::History::Endpoint = typedef std::variant<SelfEndpoint, EntryEndpoint<K> >

Definition at line 65 of file ihistoryplugin.h.

◆ EntryWithMessages

template<EntryKind K>
using LC::Azoth::History::EntryWithMessages = typedef std::pair<Entry<K>, QList<NewMessage<K> >>

Definition at line 86 of file ihistoryplugin.h.

◆ KindedGADT

template<template< EntryKind K > typename Kinded>
using LC::Azoth::History::KindedGADT = typedef std::variant< Kinded<EntryKind::Chat>, Kinded<EntryKind::MUC>, Kinded<EntryKind::PrivateChat> >

Definition at line 32 of file ihistoryplugin.h.

◆ SomeEntryDescr

Definition at line 39 of file ihistoryplugin.h.

◆ SomeEntryDescrWithEndpoint

◆ SomeEntryWithMessages

Enumeration Type Documentation

◆ EntryKind

enum LC::Azoth::History::EntryKind : std::uint8_t
strong
Enumerator
Chat 
MUC 
PrivateChat 

Definition at line 20 of file ihistoryplugin.h.

Function Documentation

◆ GetEntryKind()

template<template< EntryKind K > typename EntryKinded>
EntryKind LC::Azoth::History::GetEntryKind ( const KindedGADT< EntryKinded > &  gadt)

Definition at line 42 of file ihistoryplugin.h.