diff options
author | Scott <[email protected]> | 2015-09-26 20:58:05 +0100 |
---|---|---|
committer | Scott <[email protected]> | 2015-09-26 21:30:31 +0100 |
commit | e703a7961f12a3e02c475754862a1f4a57a04646 (patch) | |
tree | bc0a611446ab624082b27ebcc22980f250a05838 /win/CS/HandBrake.ApplicationServices | |
parent | efcddfdf4fc67f59bf09154a0c8d2d20ba61c895 (diff) |
AppServices tidyup
Moving the UI modelling and services to the GUI Project.
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
5 files changed, 7 insertions, 40 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Docs/Readme.txt b/win/CS/HandBrake.ApplicationServices/Docs/Readme.txt new file mode 100644 index 000000000..69d4b85d9 --- /dev/null +++ b/win/CS/HandBrake.ApplicationServices/Docs/Readme.txt @@ -0,0 +1,3 @@ +Library: HandBrake.ApplicationServices.dll +Description: A C# Wrapper library around LibHB. This wrapper library exposes the main scan and encode functions of the JSON API and many helper functions. +Usage: See the IHandBrakeInstance interface.
\ No newline at end of file diff --git a/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj b/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj index 5c9f7e23c..457f570b7 100644 --- a/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj +++ b/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj @@ -139,7 +139,6 @@ <Compile Include="Interop\Json\Encode\Video.cs" />
<Compile Include="Interop\Factories\AnamorphicFactory.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="Services\Encode\Factories\EncodeFactory.cs" />
<Compile Include="Interop\Json\Scan\SourceAudioTrack.cs" />
<Compile Include="Interop\Json\Scan\SourceChapter.cs" />
<Compile Include="Interop\Json\Scan\Color.cs" />
@@ -157,7 +156,6 @@ <Compile Include="Interop\Model\BitrateLimits.cs" />
<Compile Include="Interop\Model\Cropping.cs" />
<Compile Include="Interop\Model\Encoding\Anamorphic.cs" />
- <Compile Include="Services\Encode\Model\Models\AudioEncoder.cs" />
<Compile Include="Interop\Model\Encoding\Container.cs" />
<Compile Include="Interop\Model\Encoding\Decomb.cs" />
<Compile Include="Interop\Model\Encoding\Deinterlace.cs" />
@@ -179,27 +177,12 @@ <Compile Include="Interop\Model\Size.cs" />
<Compile Include="Interop\Model\SourceVideoInfo.cs" />
<Compile Include="Interop\Model\VideoQualityLimits.cs" />
- <Compile Include="Services\Encode\Factories\VideoProfileFactory.cs" />
- <Compile Include="Services\Encode\Factories\VideoPresetFactory.cs" />
- <Compile Include="Services\Encode\Factories\VideoLevelFactory.cs" />
- <Compile Include="Services\Encode\Factories\VideoTuneFactory.cs" />
- <Compile Include="Services\Encode\Model\Models\AudioEncoderRateType.cs" />
- <Compile Include="Services\Encode\Model\Models\DenoisePreset.cs" />
- <Compile Include="Services\Encode\Model\Models\DenoiseTune.cs" />
<Compile Include="Model\HBConfiguration.cs" />
<Compile Include="Model\VideoScaler.cs" />
- <Compile Include="Services\Encode\EventArgs\EncodeCompletedEventArgs.cs" />
- <Compile Include="Services\Encode\EventArgs\EncodeProgressEventArgs.cs" />
- <Compile Include="Services\Encode\Model\Models\Video\VideoLevel.cs" />
- <Compile Include="Services\Encode\Model\Models\Video\VideoPreset.cs" />
- <Compile Include="Services\Encode\Model\Models\Video\VideoProfile.cs" />
- <Compile Include="Services\Encode\Model\Models\Video\VideoTune.cs" />
<Compile Include="Services\Logging\LogHelper.cs" />
<Compile Include="Services\Logging\Model\LogLevel.cs" />
<Compile Include="Services\Logging\Model\LogMessage.cs" />
<Compile Include="Services\Logging\Model\LogMessageType.cs" />
- <Compile Include="Services\Scan\EventArgs\ScanCompletedEventArgs.cs" />
- <Compile Include="Services\Scan\EventArgs\ScanProgressEventArgs.cs" />
<Compile Include="Utilities\EnumHelper.cs" />
<Compile Include="Utilities\Execute.cs" />
<Compile Include="Utilities\ExtensionMethods.cs" />
@@ -208,30 +191,11 @@ <Compile Include="Utilities\SystemInfo.cs" />
<Compile Include="Utilities\VersionHelper.cs" />
<Compile Include="Utilities\Win32.cs" />
- <Compile Include="Services\Encode\Model\Models\AllowedPassthru.cs" />
- <Compile Include="Services\Encode\Model\Models\AudioTrack.cs" />
- <Compile Include="Services\Encode\Model\Models\ChapterMarker.cs" />
- <Compile Include="Services\Encode\Model\Models\FramerateMode.cs" />
- <Compile Include="Services\Encode\Model\Models\PointToPointMode.cs" />
- <Compile Include="Services\Encode\Model\EncodeTask.cs" />
- <Compile Include="Services\Encode\Model\Models\OutputFormat.cs" />
- <Compile Include="Services\Encode\Model\Models\SubtitleTrack.cs" />
- <Compile Include="Services\Encode\Model\Models\SubtitleType.cs" />
- <Compile Include="Services\Scan\Model\Audio.cs" />
- <Compile Include="Services\Scan\Model\Chapter.cs" />
- <Compile Include="Services\Scan\Model\Source.cs" />
- <Compile Include="Services\Scan\Model\Subtitle.cs" />
- <Compile Include="Services\Scan\Model\Title.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
- <Compile Include="Services\Encode\EncodeBase.cs" />
- <Compile Include="Services\Encode\Interfaces\IEncode.cs" />
- <Compile Include="Services\Scan\Interfaces\IScan.cs" />
- <Compile Include="Services\Encode\LibEncode.cs" />
- <Compile Include="Services\Scan\LibScan.cs" />
<Compile Include="Utilities\CharCodesUtilities.cs" />
<Compile Include="Utilities\GeneralUtilities.cs" />
<Compile Include="Utilities\LanguageUtilities.cs" />
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstanceManager.cs b/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstanceManager.cs index a84f5f657..a74513f4a 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstanceManager.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstanceManager.cs @@ -49,7 +49,7 @@ namespace HandBrake.ApplicationServices.Interop /// <returns>
/// The <see cref="IHandBrakeInstance"/>.
/// </returns>
- internal static IHandBrakeInstance GetScanInstance(int verbosity)
+ public static IHandBrakeInstance GetScanInstance(int verbosity)
{
if (scanInstance != null)
{
@@ -73,7 +73,7 @@ namespace HandBrake.ApplicationServices.Interop /// <returns>
/// The <see cref="IHandBrakeInstance"/>.
/// </returns>
- internal static IHandBrakeInstance GetEncodeInstance(int verbosity)
+ public static IHandBrakeInstance GetEncodeInstance(int verbosity)
{
if (encodeInstance != null)
{
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Helpers/Validate.cs b/win/CS/HandBrake.ApplicationServices/Interop/Helpers/Validate.cs index 4533ac21d..9725710e1 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/Helpers/Validate.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/Helpers/Validate.cs @@ -14,7 +14,7 @@ namespace HandBrake.ApplicationServices.Interop.Helpers /// <summary>
/// The validate.
/// </summary>
- internal class Validate
+ public class Validate
{
/// <summary>
/// The not null.
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Interfaces/IHandBrakeInstance.cs b/win/CS/HandBrake.ApplicationServices/Interop/Interfaces/IHandBrakeInstance.cs index 0c231cbac..4b540a770 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/Interfaces/IHandBrakeInstance.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/Interfaces/IHandBrakeInstance.cs @@ -20,7 +20,7 @@ namespace HandBrake.ApplicationServices.Interop.Interfaces /// <summary>
/// The Interface for HandBrakeInstance
/// </summary>
- internal interface IHandBrakeInstance
+ public interface IHandBrakeInstance
{
#region Events
|