Click here to Skip to main content
15,879,474 members
Articles / Desktop Programming / MFC

A reminder tool for .dan.g's ToDoList

Rate me:
Please Sign up or sign in to vote.
3.60/5 (14 votes)
25 Feb 2004 152.7K   3.4K   61  
A simple reminder tool to remind you of your overdue tasks in ToDoList throughout the day
// TODOList.h: interface for the CTODOList class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TODOLIST_H__38169DE1_5946_48EF_9FC5_8CDE0E4507FC__INCLUDED_)
#define AFX_TODOLIST_H__38169DE1_5946_48EF_9FC5_8CDE0E4507FC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Task.h"

//<TODOLIST PROJECTNAME="TDLReminder" FILEFORMAT="5" NEXTUNIQUEID="6" LASTSORTBY="4" FILEVERSION="9" LASTSORTDIR="0" LASTMODIFIED="10/02/2004">
class CTODOList  
{
public:
	CTODOList();
	virtual ~CTODOList();

	CTODOList(const string& ProjectName,const string& FileFormat,const string& NextUniqueID,
			  const string& LastSortBy,const string& FileVersion,const string& LastSortDir,
			  const string& LastModfified);

	void setProjectName(const string& ProjectName);
	void setFileFormat(const string& FileFormat);
	void setNextUniqueID(const string& NextUniqueID);
	void setLastSortBy(const string& LastSortBy);
	void setFileVersion(const string& FileVersion);
	void setLastSortDir(const string& LastSortDir);
	void setLastModfified(const string& LastModfified);

	string getProjectName();
	string getFileFormat();
	string getNextUniqueID();
	string getLastSortBy();
	string getFileVersion();
	string getLastSortDir();
	string getLastModfified();

	void addTask(CTask task);
	vector<CTask> getTasks();


private:
	
	string m_ProjectName;
	string m_FileFormat;
	string m_NextUniqueID;
	string m_LastSortBy;
	string m_FileVersion;
	string m_LastSortDir;
	string m_LastModfified;

	vector<CTask> m_Tasks;
};

#endif // !defined(AFX_TODOLIST_H__38169DE1_5946_48EF_9FC5_8CDE0E4507FC__INCLUDED_)

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
Team Leader www.unitronics.com
Israel Israel
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions