mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-14 21:45:14 -05:00
26 lines
708 B
C#
26 lines
708 B
C#
|
using System;
|
||
|
using Android.Content;
|
||
|
using KeePassLib.Serialization;
|
||
|
|
||
|
namespace keepass2android
|
||
|
{
|
||
|
public interface IKp2aApp
|
||
|
{
|
||
|
void SetShutdown();
|
||
|
Database GetDb();
|
||
|
|
||
|
void StoreOpenedFileAsRecent(IOConnectionInfo ioc, string keyfile);
|
||
|
|
||
|
Database CreateNewDatabase();
|
||
|
|
||
|
string GetResourceString(UiStringKey stringKey);
|
||
|
|
||
|
bool GetBooleanPreference(PreferenceKey key);
|
||
|
|
||
|
void AskYesNoCancel(UiStringKey titleKey, UiStringKey messageKey,
|
||
|
EventHandler<DialogClickEventArgs> yesHandler,
|
||
|
EventHandler<DialogClickEventArgs> noHandler,
|
||
|
EventHandler<DialogClickEventArgs> cancelHandler,
|
||
|
Context ctx);
|
||
|
}
|
||
|
}
|