Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

RSS Reader Plug-in for Internet Explorer

, 16 Jul 2007
This is a toolbar for the Internet Explorer which shows information from RSS taken from the Internet.
rssreader_exe.zip
rssreader_src.zip
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 !! "

| Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 17 Jul 2007
Article Copyright 2007 by PrafullaT
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid