mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-04 21:27:30 -04:00
30 lines
723 B
C++
30 lines
723 B
C++
/*
|
|
* @file CallLogSwitchData.h
|
|
* @author Aleksander Rudnik (aleksander.rudnik@mudita.com)
|
|
* @date 8.10.2019
|
|
* @brief Call Log Switch Data
|
|
* @copyright Copyright (C) 2019 mudita.com
|
|
* @details
|
|
*/
|
|
#pragma once
|
|
|
|
#include "CalllogRecord.hpp"
|
|
#include "SwitchData.hpp"
|
|
|
|
namespace calllog {
|
|
|
|
const inline std::string CALLLOG_SWITCH_DATA_STR = "CallLogSwitchData";
|
|
|
|
class CallLogSwitchData: public gui::SwitchData {
|
|
protected:
|
|
CalllogRecord record;
|
|
public:
|
|
CallLogSwitchData() = delete;
|
|
CallLogSwitchData( CalllogRecord record ) : SwitchData(CALLLOG_SWITCH_DATA_STR), record{ record } {};
|
|
virtual ~CallLogSwitchData() = default;
|
|
|
|
const CalllogRecord& getRecord() const { return record; };
|
|
};
|
|
|
|
} // namespace calllog
|