Skip to content

Commit

Permalink
Add xrManagedApi reference and basic xrCore initialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Oct 30, 2014
1 parent 62e6b9c commit 42ede87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/editors/xrPostprocessEditor/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using XRay.ManagedApi.Core;

namespace xrPostprocessEditor
{
Expand All @@ -15,7 +16,9 @@ static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Core.Initialize(Application.ProductName);
Application.Run(new MainDialog());
Core.Destroy();
}
}
}
6 changes: 6 additions & 0 deletions src/editors/xrPostprocessEditor/xrPostprocessEditor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\xrManagedApi\xrManagedApi.vcxproj">
<Project>{55b0e2ca-e27a-47fc-bc92-21abdc1044f5}</Project>
<Name>xrManagedApi</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down

0 comments on commit 42ede87

Please sign in to comment.