mirror of
https://github.com/zhongyang219/TrafficMonitor.git
synced 2026-10-18 13:51:38 +08:00
28 lines
571 B
C++
28 lines
571 B
C++
#include "pch.h"
|
|
#include <wchar.h>
|
|
#include "PluginSystemTime.h"
|
|
#include "DataManager.h"
|
|
|
|
const wchar_t* CPluginSystemTime::GetItemName() const
|
|
{
|
|
return L"Time";
|
|
}
|
|
|
|
const wchar_t* CPluginSystemTime::GetItemLableText() const
|
|
{
|
|
if (CDataManager::Instance().m_setting_data.show_label_text)
|
|
return L"时间";
|
|
else
|
|
return L"";
|
|
}
|
|
|
|
const wchar_t* CPluginSystemTime::GetItemValueText() const
|
|
{
|
|
return CDataManager::Instance().m_cur_time.c_str();
|
|
}
|
|
|
|
const wchar_t* CPluginSystemTime::GetItemValueSampleText() const
|
|
{
|
|
return L"12:00:00";
|
|
}
|