LeechCraft Azoth 0.6.70-18450-gabe19ee3b0
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
ihistoryplugin.h File Reference
#include <QList>
#include <util/threads/coro/taskfwd.h>
#include "imessage.h"
Include dependency graph for ihistoryplugin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LC::Azoth::History::EntryDescr< EntryKind::Chat >
struct  LC::Azoth::History::EntryDescr< EntryKind::MUC >
struct  LC::Azoth::History::EntryDescr< EntryKind::PrivateChat >
struct  LC::Azoth::History::Entry< K >
struct  LC::Azoth::History::SelfEndpoint
struct  LC::Azoth::History::EntryEndpoint< EntryKind::Chat >
struct  LC::Azoth::History::EntryEndpoint< EntryKind::MUC >
struct  LC::Azoth::History::EntryEndpoint< EntryKind::PrivateChat >
struct  LC::Azoth::History::EntryDescrWithEndpoint< K >
struct  LC::Azoth::History::NewMessage< K >
class  LC::Azoth::IHistoryPlugin
 Interface for plugins storing chat history. More...

Namespaces

namespace  LC
namespace  LC::Azoth
namespace  LC::Azoth::History

Typedefs

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

Enumerations

enum class  LC::Azoth::History::EntryKind : std::uint8_t { LC::Azoth::History::Chat , LC::Azoth::History::MUC , LC::Azoth::History::PrivateChat }

Functions

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