#region File Description
//-----------------------------------------------------------------------------
// CustomImporterContext.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
#region Using Statements
using Microsoft.Xna.Framework.Content.Pipeline;
#endregion
namespace CompileEffect
{
///
/// Custom context object for running Content Pipeline importers.
///
class CustomImporterContext : ContentImporterContext
{
///
/// Constructor.
///
public CustomImporterContext(ContentBuildLogger logger)
{
this.logger = logger;
}
///
/// Gets a logger for reporting content build messages and warnings.
///
public override ContentBuildLogger Logger
{
get { return logger; }
}
ContentBuildLogger logger;
///
/// Gets the intermediate directory for the current content build.
///
public override string IntermediateDirectory
{
get { return string.Empty; }
}
///
/// Gets the final output directory for the current content build.
///
public override string OutputDirectory
{
get { return string.Empty; }
}
///
/// Records any additional input files that were read by the importer.
///
public override void AddDependency(string filename)
{
}
}
}