forked from hpavlov/Tangra.DirectShow.Video
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSettings.cs
More file actions
28 lines (26 loc) · 1.31 KB
/
Settings.cs
File metadata and controls
28 lines (26 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System.Configuration;
using Tangra.DirectShowVideoBase.DirectShowVideo;
/************************
* Do not modify this file. Do not delete this empty class definition.
*
* The purpose of this code is to attach the two attributes [SettingsProvider] and [DeviceId]
* to the driver's Settings class. The settings class is automatically generated by
* Visual Studio, so the attributes can't be added directly to the generated class.
*
* Once these attributes are present on the Settings class, then Visual Studio's settings designer
* can be used to manage driver settings and to bind settings directly to controls on
* the Setup Dialog. Instead of being stored in the usual place, the
* [SettingsProvider] attribute forces Visual Studio to use a custom settings provider
* that is installed with the ASCOM Platform. The custom settings provider uses
* ASCOM.Utilities.Profile as its underlying storage engine. The [DeviceId] attribute is
* used by the SettingsProvider to configure ASCOM.Utilities.Profile to store settings against
* the correct device profile.
* **********************/
namespace Tangra.DirectShow
{
[SettingsProvider(typeof(ASCOM.SettingsProvider))]
[ASCOM.DeviceId("ASCOM.DirectShow.Video", DeviceName = "Video Capture")]
internal sealed partial class Settings : DirectShowVideoSettings
{
}
}