JS8Call-Improved master
Loading...
Searching...
No Matches
ActivityStorageController::Context Struct Reference

The window state and operations this controller needs. More...

#include <ActivityStorageController.h>

Collaboration diagram for ActivityStorageController::Context:

Public Attributes

Configuration const * config = nullptr
QSettings * settings = nullptr
 The current configuration's settings (legacy import, config id).
Radio::Frequency defaultDial = 0
 The dial the ini falls back to when it has never recorded one.
QTextEdit * rxTextEdit = nullptr
QMap< QString, CallDetail > * callActivity = nullptr
 The live Call Activity table; a seed merges stored rows into it.
QMap< QString, int > const * inboxCounts = nullptr
 Unread-message counts; unread senders are exempt from aging.
QMap< QString, QMap< QString, CallDetail > > * callActivityBandCache
QMap< QString, QString > const * rxTextBandCache = nullptr
std::function< void(QString const &)> showStatusMessage
std::function< void()> displayActivity
std::function< void()> clearRxFrameBlockNumbers
std::function< void()> clearActivityPanes
 UI_Constructor::clearActivity - every pane and session queue.
std::function< void()> clearRxPane
 UI_Constructor::clearRXActivity.
std::function< void()> clearCallActivityPane
 UI_Constructor::clearCallActivity.
std::function< void(QString const &)> cacheActivity
 UI_Constructor::cacheActivity - park the panes under a bucket.
std::function< void(QString const &)> dropBandCache
 Forget every per-band cache the window holds for one bucket.
std::function< void(QString const &)> restoreActivity
 UI_Constructor::restoreActivity - show a bucket's panes.
std::function< void()> clearBandCaches
 Empty every RAM band cache (the "Clear All Activity" action).

Detailed Description

The window state and operations this controller needs.

A deliberately narrow, explicit interface. The pointers are to objects that outlive this controller; the callbacks are the only way it reaches back into the window.

Member Data Documentation

◆ callActivityBandCache

QMap<QString, QMap<QString, CallDetail> >* ActivityStorageController::Context::callActivityBandCache
Initial value:
=
nullptr

The documentation for this struct was generated from the following file: