📄 rssenclosure.cpp
字号:
// RssEnclosure.cpp: implementation of the CRssEnclosure class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "RSSEnclosure.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CRSSEnclosure::CRSSEnclosure() : CRSSElement( _T("enclosure") )
{
m_Type = _T("");
m_URL = _T("");
m_Length = 0;
}
CRSSEnclosure::~CRSSEnclosure()
{
}
void CRSSEnclosure::SetType(CString type)
{
m_Type = type;
}
CString CRSSEnclosure::GetType()
{
return m_Type;
}
void CRSSEnclosure::SetURL(CString url)
{
m_URL = url;
}
CString CRSSEnclosure::GetURL()
{
return m_URL;
}
void CRSSEnclosure::SetLength(int length)
{
m_Length = length;
}
int CRSSEnclosure::GetLength()
{
return m_Length;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -