From 7fe3ece61589919fab4fac93bd65bd9eabe08f2d Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Mon, 2 Jan 2017 16:28:39 +0100 Subject: [PATCH] Marked profile-api as obsolete. Wontfix that to work with CUE 2. This closes #54. --- Profiles/CueProfile.cs | 2 ++ Profiles/CueProfileDevice.cs | 4 +++- Profiles/CueProfileMode.cs | 1 + Profiles/CueProfiles.cs | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Profiles/CueProfile.cs b/Profiles/CueProfile.cs index 638ae32..8c5a2fd 100644 --- a/Profiles/CueProfile.cs +++ b/Profiles/CueProfile.cs @@ -2,6 +2,7 @@ // ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable UnusedMember.Global +using System; using System.Collections.Generic; using System.IO; using System.Linq; @@ -13,6 +14,7 @@ namespace CUE.NET.Profiles /// /// Represents a CUE profile. /// + [Obsolete("Only works with CUE 1.")] public class CueProfile { #region Properties & Fields diff --git a/Profiles/CueProfileDevice.cs b/Profiles/CueProfileDevice.cs index eda8958..5fb756f 100644 --- a/Profiles/CueProfileDevice.cs +++ b/Profiles/CueProfileDevice.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using CUE.NET.Brushes; @@ -8,6 +9,7 @@ namespace CUE.NET.Profiles /// /// Represents a device of a CUE profile. /// + [Obsolete("Only works with CUE 1.")] internal class CueProfileDevice { #region Properties & Fields diff --git a/Profiles/CueProfileMode.cs b/Profiles/CueProfileMode.cs index c2aa7bb..b6fc0b2 100644 --- a/Profiles/CueProfileMode.cs +++ b/Profiles/CueProfileMode.cs @@ -12,6 +12,7 @@ namespace CUE.NET.Profiles /// /// Represents a mode of a CUE profile. /// + [Obsolete("Only works with CUE 1.")] internal class CueProfileMode { #region Properties & Fields diff --git a/Profiles/CueProfiles.cs b/Profiles/CueProfiles.cs index 144220c..b04e4c3 100644 --- a/Profiles/CueProfiles.cs +++ b/Profiles/CueProfiles.cs @@ -12,6 +12,7 @@ namespace CUE.NET.Profiles /// /// Represents the SDK for CUE profiles. /// + [Obsolete("Only works with CUE 1.")] public static class CueProfiles { #region Constants