Click here to Skip to main content
12,248,777 members (40,440 online)
Click here to Skip to main content

Stats

239.4K views
1.1K downloads
32 bookmarked
Posted

RSS Reader Plug-in for Internet Explorer

, 17 Jul 2007 CPOL
This is a toolbar for the Internet Explorer which shows information from RSS taken from the Internet.
Setup.exe
RssReader_src
RRPRssFetcher
RRPRssFetcher
res
RRPRssFetcher.ico
toolbar.bmp
RRPRssFetcher.vcproj.TEKAWADE.Prafulla V Tekawade.user
RSSReaderplugin
Debug
res
RssReaderPlugin.dll.manifest
RRPComInterfaceImplementor.rgs
RssReaderPlugin.aps
RssReaderPlugin.def
RssReaderPlugin.dsp
RssReaderPlugin.dsw
RssReaderPlugin.opt
RssReaderPlugin.plg
RssReaderPlugin.tlb
RssReaderPlugin.vcproj.TEKAWADE.Prafulla V Tekawade.user
RssReaderPluginps.def
RssReaderPluginps.mk
Setup.iss
/*
	Project		: RSS Reader plugin for Internet Explorer
	File name	: RRPDebugInfoLogger.cpp
	Date		: 
	Purpose		: It is the Debug Info logger,It provides interface for basic 
				  logging mechanism
	Note		: It is a Singlton class(Implments Singleton Pattern GoF)
	Send comments 
	or Bugs to	: prafulla_t@users.sourceforge.net
*/
#include "stdafx.h"
#include "RRPDebugInfoLogger.h"
#include "varargs.h"

RRPDebugInfoLogger* RRPDebugInfoLogger::ptr = NULL;

RRPDebugInfoLogger::RRPDebugInfoLogger(void) {
	debugFlag = true;
}

RRPDebugInfoLogger::~RRPDebugInfoLogger(void) {
}


void RRPDebugInfoLogger::log(CString message,...) {
	if(debugFlag) {
		va_list list;
		va_start(list,message);
		CString formatString(message);
		message.FormatV(formatString,list);
		doLogging(message);
		va_end(list);
	}
	return;
}

/*
	doLogging currently just displays message box
	can be modified to store message to specific debug file
*/
void RRPDebugInfoLogger::doLogging(CString log) {
	if(debugFlag)
		::MessageBox(NULL,log,"Debug Message",MB_ICONHAND);
}
		

void RRPDebugInfoLogger::setDebug(bool debugFlag) {
	this->debugFlag = debugFlag;
}

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

PrafullaT
India India
Quote : "Life is all about solving problems and enjoying their solutions !! "

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160426.1 | Last Updated 17 Jul 2007
Article Copyright 2007 by PrafullaT
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid