LeechCraft Azoth 0.6.70-18808-g3467692359
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
azothcommon.h File Reference
#include <variant>
#include <QHashFunctions>
#include <QMetaType>
#include <interfaces/azoth/imessage.h>
Include dependency graph for azothcommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LC::Azoth::EntryId< IdKind >
struct  LC::Azoth::GlobalId< K >
struct  LC::Azoth::StrongestId< Id >
struct  LC::Azoth::CustomStatus
 A custom saved named status. More...
struct  LC::Azoth::EntryStatus
 Describes an entry's status. More...

Namespaces

namespace  LC
namespace  LC::Azoth

Typedefs

using LC::Azoth::EntryPersistentId = EntryId<IdKind::Persistent>
using LC::Azoth::EntryConventionalId = EntryId<IdKind::Conventional>
using LC::Azoth::GlobalPersistentId = GlobalId<IdKind::Persistent>
using LC::Azoth::GlobalConventionalId = GlobalId<IdKind::Conventional>
using LC::Azoth::EntryStrongestId = StrongestId<EntryId>
using LC::Azoth::GlobalStrongestId = StrongestId<GlobalId>

Enumerations

enum class  LC::Azoth::IdKind : std::uint8_t { LC::Azoth::Persistent , LC::Azoth::Conventional }
enum  LC::Azoth::State : std::uint8_t {
  LC::Azoth::SOffline , LC::Azoth::SOnline , LC::Azoth::SAway , LC::Azoth::SXA ,
  LC::Azoth::SDND , LC::Azoth::SChat , LC::Azoth::SInvisible , LC::Azoth::SProbe ,
  LC::Azoth::SError , LC::Azoth::SInvalid , LC::Azoth::SConnecting
}
 Describes possible presence states of an account or a contact. More...
enum  LC::Azoth::AuthStatus {
  LC::Azoth::ASNone = 0x00 , LC::Azoth::ASFrom = 0x01 , LC::Azoth::ASTo = 0x02 , LC::Azoth::ASBoth = 0x03 ,
  LC::Azoth::ASContactRequested = 0x08
}
enum  LC::Azoth::ChatPartState : std::uint8_t {
  LC::Azoth::CPSNone , LC::Azoth::CPSActive , LC::Azoth::CPSInactive , LC::Azoth::CPSGone ,
  LC::Azoth::CPSComposing , LC::Azoth::CPSPaused
}

Functions

QString LC::Azoth::GetAccountId (const GlobalStrongestId &strongestId)
bool LC::Azoth::IsLess (State s1, State s2)
 Compares two states according to the implied desire to have a conversation.