1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
using KeePassRPC.Models.Shared;
namespace KeePassRPC.Models.DataExchange
{
public class Entry : LightEntry
{
public string HTTPRealm;
public FormField[] FormFieldList;
// How accurately do the URLs in this entry match the URL we are looking for?
// Higher = better match.
// We don't consider protocol
public int MatchAccuracy;
public bool AlwaysAutoFill;
public bool NeverAutoFill;
public bool AlwaysAutoSubmit;
public bool NeverAutoSubmit;
public int Priority; // "Kee priority" = 0 (no longer used)
public Group Parent;
public Database Db;
public Entry() { }
public Entry(
string[] urls,
string hTTPRealm,
string title,
FormField[] formFieldList,
string uniqueID,
bool alwaysAutoFill,
bool neverAutoFill,
bool alwaysAutoSubmit,
bool neverAutoSubmit,
int priority,
Group parent,
string iconImageData,
Database db,
int matchAccuracy)
{
URLs = urls;
HTTPRealm = hTTPRealm;
Title = title;
FormFieldList = formFieldList;
UniqueID = uniqueID;
AlwaysAutoFill = alwaysAutoFill;
NeverAutoFill = neverAutoFill;
AlwaysAutoSubmit = alwaysAutoSubmit;
NeverAutoSubmit = neverAutoSubmit;
Priority = priority;
Parent = parent;
IconImageData = iconImageData;
Db = db;
MatchAccuracy = matchAccuracy;
}
}
}
|