Click here to Skip to main content
15,884,838 members
Articles / Desktop Programming / MFC

Introduces RSS Reader by AgileInfoSoftware

Rate me:
Please Sign up or sign in to vote.
4.38/5 (15 votes)
2 Dec 20032 min read 154.6K   1.1K   31  
This article introduces an application to consume RSS Feed from Internet.
/******************************************************************************
*
*       (c) Copyright 2003 AgileInfoSoftware LLC. - All Rights Reserved
*		This code is released to public. You may make any change as appropriate
*		as long as this copyright notice is on the top. If you use it to build
*		commerial application, please email info@AgileInfoSoftware.com for license.
*
*                
******************************************************************************/

// AgileReaderDoc.cpp : implementation of the CAgileReaderDoc class
//

#include "stdafx.h"
#include "AgileReader.h"

#include "AgileReaderDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CAgileReaderDoc

IMPLEMENT_DYNCREATE(CAgileReaderDoc, CDocument)

BEGIN_MESSAGE_MAP(CAgileReaderDoc, CDocument)
	//{{AFX_MSG_MAP(CAgileReaderDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAgileReaderDoc construction/destruction

CAgileReaderDoc::CAgileReaderDoc()
{
	// TODO: add one-time construction code here

}

CAgileReaderDoc::~CAgileReaderDoc()
{
}

BOOL CAgileReaderDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CAgileReaderDoc serialization

void CAgileReaderDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CAgileReaderDoc diagnostics

#ifdef _DEBUG
void CAgileReaderDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CAgileReaderDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CAgileReaderDoc commands

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
LI is a architect of several database-centric tools and technologies. He has been programming since 1995. He is a Microsoft Certified Solution Developer (MCSD), MCSD.NET, SCJP, SCJD and OCDBA.

His programming experience includes C/C++, C#, MFC, ASP, VB and Perl. He has worked on Solaris, AIX, HPUX and various Windows, and found Windows is the easiest one to work with.

He has over 8 years of database experiences in Oracle, SQL Server, DB2 and other DBMS.

LI co-founded AgileInfoSoftware LLC (http://www.agileinfollc.com) in 2003. He is responsible for the overall vision and development strategy of the company.

Comments and Discussions