keepass2android/src/Kp2aBusinessLogic/IKp2aApp.cs

26 lines
708 B
C#
Raw Normal View History

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);
}
}