LeechCraft Azoth 0.6.70-18450-gabe19ee3b0
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
LC::Azoth::History Namespace Reference

Classes

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

Typedefs

template<template< EntryKind K > typename Kinded>
using KindedGADT
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 class  EntryKind : std::uint8_t { Chat , MUC , 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 = std::variant<SelfEndpoint, EntryEndpoint<K>>

Definition at line 65 of file ihistoryplugin.h.

◆ EntryWithMessages

template<EntryKind K>
using LC::Azoth::History::EntryWithMessages = 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
Initial value:
std::variant<
Kinded<EntryKind::Chat>,
Kinded<EntryKind::MUC>,
Kinded<EntryKind::PrivateChat>
>

Definition at line 28 of file ihistoryplugin.h.

◆ SomeEntryDescr

◆ SomeEntryDescrWithEndpoint

◆ SomeEntryWithMessages

Enumeration Type Documentation

◆ EntryKind

enum class 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.