This was based on the idea that the interfaces should remain static. I hope this change is enough to ensure stable interfaces until release 1.2. Overview of changes: Moved all interfaces into the same dll. Encryption and compression is now plugable modules, just as the backends. Encryption/compression can now register an UI. Encryption now uses AESCrypt as a default. GPG does not default to using the --armor option. Added support for generic modules, but none are written yet. Added support for plugable settings pages in the "Options" dialog. Fixed issue #148. Duplicati now uses AESCrypt as the default encryption format. Fixed issue #199. GPG now supports custom commandline options. Fixed issue #207. Encryption modules are now plugable. Fixed issue #118. S3 credentials are now stored. Fixed issue #151. Backends can now register system wide options. git-svn-id: https://duplicati.googlecode.com/svn/trunk@427 59da171f-624f-0410-aa54-27559c288bec
73 lines
2.2 KiB
C#
73 lines
2.2 KiB
C#
/// <metadata>
|
|
/// <creator>This class was created by DataClassFileBuilder (LightDatamodel)</creator>
|
|
/// <provider name="System.Data.LightDatamodel.SQLiteDataProvider" connectionstring="Version=3;Data Source=D:\Documents\duplicati\gpg-commandline-settings\Duplicati\GUI\Datamodel\Duplicati.sqlite;" />
|
|
/// <type>Table</type>
|
|
/// <namespace>Duplicati.Datamodel</namespace>
|
|
/// <name>CompressionSetting</name>
|
|
/// <sql></sql>
|
|
/// </metadata>
|
|
|
|
using System.Data.LightDatamodel;
|
|
using System.Data.LightDatamodel.DataClassAttributes;
|
|
|
|
namespace Duplicati.Datamodel
|
|
{
|
|
|
|
[DatabaseTable("CompressionSetting")]
|
|
public partial class CompressionSetting : DataClassBase
|
|
{
|
|
|
|
#region " private members "
|
|
|
|
[AutoIncrement, PrimaryKey, DatabaseField("ID")]
|
|
private System.Int64 m_ID = long.MinValue;
|
|
[Relation("CompressionSettingTask", typeof(Task), "ID"), DatabaseField("TaskID")]
|
|
private System.Int64 m_TaskID = long.MinValue;
|
|
[DatabaseField("Name")]
|
|
private System.String m_Name = "";
|
|
[DatabaseField("Value")]
|
|
private System.String m_Value = "";
|
|
#endregion
|
|
|
|
#region " properties "
|
|
|
|
public System.Int64 ID
|
|
{
|
|
get{return m_ID;}
|
|
set{object oldvalue = m_ID;OnBeforeDataChange(this, "ID", oldvalue, value);m_ID = value;OnAfterDataChange(this, "ID", oldvalue, value);}
|
|
}
|
|
|
|
public System.Int64 TaskID
|
|
{
|
|
get{return m_TaskID;}
|
|
set{object oldvalue = m_TaskID;OnBeforeDataChange(this, "TaskID", oldvalue, value);m_TaskID = value;OnAfterDataChange(this, "TaskID", oldvalue, value);}
|
|
}
|
|
|
|
public System.String Name
|
|
{
|
|
get{return m_Name;}
|
|
set{object oldvalue = m_Name;OnBeforeDataChange(this, "Name", oldvalue, value);m_Name = value;OnAfterDataChange(this, "Name", oldvalue, value);}
|
|
}
|
|
|
|
public System.String Value
|
|
{
|
|
get{return m_Value;}
|
|
set{object oldvalue = m_Value;OnBeforeDataChange(this, "Value", oldvalue, value);m_Value = value;OnAfterDataChange(this, "Value", oldvalue, value);}
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region " referenced properties "
|
|
|
|
[Affects(typeof(Task))]
|
|
public Task Task
|
|
{
|
|
get{ return ((DataFetcherWithRelations)m_dataparent).GetRelatedObject<Task>("CompressionSettingTask", this); }
|
|
set{ ((DataFetcherWithRelations)m_dataparent).SetRelatedObject("CompressionSettingTask", this, value); }
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
} |