Click here to Skip to main content
12,621,191 members (32,422 online)
Click here to Skip to main content


61 bookmarked

A reminder tool for .dan.g's ToDoList

, 25 Feb 2004
A simple reminder tool to remind you of your overdue tasks in ToDoList throughout the day
// Task.h: interface for the CTask class.

#if !defined(AFX_TASK_H__306BA398_5486_4A71_9CE2_48947A96ED1C__INCLUDED_)
#define AFX_TASK_H__306BA398_5486_4A71_9CE2_48947A96ED1C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Comment.h"
//<TASK STARTDATESTRING="10/02/2004" PRIORITY="6" DUEDATESTRING="18/02/2004" TITLE="Task1" PERSON="Alberto" TIMEESTIMATE="10.00000000" FILEREFPATH="C:\My Documents\reg_ma.pdf" ID="1" DUEDATE="38035.69523148" PERCENTDONE="5" STARTDATE="38027.69523148" POS="2">
class CTask  
	virtual ~CTask();
	CTask(const string& StartDateString,const string& Priority,const string& DueDateString,
		  const string& Title,const string& Person,const string& TimeEstimate,const string& FileRefPath,
		  const string& ID,const string& DueDate,const string& PercentDone,const string& StartDate,const string& POS);

	void setStartDateString(const string& StarDateString);
	void setPriority(const string& Priority);
	void setDueDateString(const string& DueDateString);
	void setTitle(const string& Title);
	void setPerson(const string& Person);
	void setTimeEstimate(const string& TimeEstimate);
	void setFileRefPath(const string& FileRefPath);
	void setID(const string& ID);
	void setDueDate(const string& DueDate);
	void setPercentDone(const string& PercentDone);
	void setStartDate(const string& StartDate);
	void setPOS(const string& POS);
	void setDoneDateString(const string& DoneDateString);
	void setDoneDate(const string& DoneDate);
	void setWebColor(const string& WebColor);
	void setColor(const string& Color);

	void setComment(const string& comment);

	string getStartDateString();
	string getPriority();
	string getDueDateString();
	string getTitle();
	string getPerson();
	string getTimeEstimate();
	string getFileRefPath();
	string getID();
	string getDueDate();
	string getPercentDone();
	string getStartDate();
	string getPOS();
	string getDoneDateString();
	string getDoneDate();
	string getWebColor();
	string getColor();

	string getComment();
	void addSubTask(CTask task);
	vector<CTask> getSubTasks();

	vector<CTask> m_SubTasks;

	//  ID="1" DUEDATE="38035.69523148" PERCENTDONE="5" STARTDATE="38027.69523148" POS="2">	
	string m_StartDateString;
	string m_Priority;
	string m_DueDateString;
	string m_Title;
	string m_Person;
	string m_TimeEstimate;
	string m_FileRefPath;
	string m_ID;
	string m_DueDate;
	string m_PercentDone;
	string m_StartDate;
	string m_POS;
	string m_DoneDateString;
	string m_DoneDate;
	string m_WebColor;
	string m_Color;

	CComment m_Comment;


#endif // !defined(AFX_TASK_H__306BA398_5486_4A71_9CE2_48947A96ED1C__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.


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


About the Author

Alberto Bar-Noy
Team Leader
Israel Israel
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161128.1 | Last Updated 26 Feb 2004
Article Copyright 2004 by Alberto Bar-Noy
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid