alarm.cpp

来自「基于WinCE4.2的evc开发的闹钟提醒系统.有日历等相应的功能.」· C++ 代码 · 共 44 行

CPP
44
字号
// Alarm.cpp: implementation of the Alarms class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "S200807003_AlarmClock.h"
#include "Alarm.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

Alarm::Alarm(bool ie, CString gd, CString tx)
{
	is_everyday = ie;
	datetime = gd;
	text = tx;
}

Alarm::~Alarm()
{

}

bool Alarm::get_is_everyday()
{
	return is_everyday;
}

CString Alarm::get_datetime()
{
	return datetime;
}

CString Alarm::get_text()
{
	return text;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?