跳转至

Class qqmusic::utils::SessionGuard

ClassList > qqmusic > utils > SessionGuard

一个 RAII 风格的Session切换器

  • #include <session.h>

Public Functions

Public Functions Documentation

function SessionGuard [1/2]

inline qqmusic::utils::SessionGuard::SessionGuard (
    SessionManager & sm,
    Session s
) 

function SessionGuard [2/2]

inline qqmusic::utils::SessionGuard::SessionGuard (
    SessionManager & sm,
    details::NetworkContext ctx
) 

function ~SessionGuard

inline qqmusic::utils::SessionGuard::~SessionGuard () 


The documentation for this class was generated from the following file include/qqmusic/utils/session.h