using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ExIni;
namespace XUnity.AutoTranslator.Plugin.Core
{
///
/// Interface representing the environment in which
/// the plugin runs.
///
/// This interface is not meant to be used by a translator.
///
public interface IPluginEnvironment
{
///
/// Gets the path the plugin is located at.
///
string PluginPath { get; }
///
/// Gets or sets the path representing the root of the translations.
///
string TranslationPath { get; }
///
/// Gets or sets the path representing the config directory.
///
string ConfigPath { get; }
///
/// Gets the preferences file.
///
IniFile Preferences { get; }
///
/// Saves the preferences file.
///
void SaveConfig();
///
/// Gets a bool indicating whether the plugin environment allows experimental hooks by default.
///
bool AllowRuntimeHooksByDefault { get; }
}
}