You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
545 B
28 lines
545 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace NoteMan
|
|
{
|
|
class Data
|
|
{
|
|
private string filename = null;
|
|
private List<Project> projects = new List<Project>();
|
|
|
|
public Data() { }
|
|
|
|
public Data(string filename)
|
|
{
|
|
this.filename = filename;
|
|
// TODO: implement import!
|
|
}
|
|
|
|
public void AddProject(string title)
|
|
{
|
|
projects.Add(new Project(title));
|
|
}
|
|
}
|
|
}
|