mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
35 lines
907 B
C#
35 lines
907 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using RainmeterStudio.Core;
|
|
using RainmeterStudio.Core.Documents;
|
|
using RainmeterStudio.Core.Model;
|
|
|
|
namespace RainmeterStudio.SkinDesignerPlugin
|
|
{
|
|
/// <summary>
|
|
/// Template of a skin which will be opened in the designer
|
|
/// </summary>
|
|
[PluginExport]
|
|
public class SkinDocumentTemplate : DocumentTemplate
|
|
{
|
|
/// <summary>
|
|
/// Initializes this skin template
|
|
/// </summary>
|
|
public SkinDocumentTemplate()
|
|
: base("Skin", "ini")
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Creates a new document using this template
|
|
/// </summary>
|
|
/// <returns>Newly created document</returns>
|
|
public override IDocument CreateDocument()
|
|
{
|
|
return new SkinDocument();
|
|
}
|
|
}
|
|
}
|