mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
42 lines
1022 B
C#
42 lines
1022 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using RainmeterStudio.Core;
|
|||
|
using RainmeterStudio.Core.Model;
|
|||
|
|
|||
|
namespace RainmeterStudio.Documents
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// An empty project template
|
|||
|
/// </summary>
|
|||
|
[PluginExport]
|
|||
|
public class EmptyProjectTemplate : IProjectTemplate
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Gets or sets the name of the template
|
|||
|
/// </summary>
|
|||
|
public string Name
|
|||
|
{
|
|||
|
get { return "EmptyProject"; }
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Gets or sets the properties of this template
|
|||
|
/// </summary>
|
|||
|
public IEnumerable<Property> Properties
|
|||
|
{
|
|||
|
get { return Enumerable.Empty<Property>(); }
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Creates a project.
|
|||
|
/// </summary>
|
|||
|
/// <returns>Created project</returns>
|
|||
|
public Project CreateProject()
|
|||
|
{
|
|||
|
return new Project();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|