2013-02-23 11:43:42 -05:00
|
|
|
/*
|
|
|
|
This file is part of Keepass2Android, Copyright 2013 Philipp Crocoll. This file is based on Keepassdroid, Copyright Brian Pellin.
|
|
|
|
|
|
|
|
Keepass2Android is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Keepass2Android is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Keepass2Android. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace keepass2android
|
|
|
|
{
|
2013-06-15 16:02:48 -04:00
|
|
|
/// <summary>
|
|
|
|
/// Contains constants to be used in intents
|
|
|
|
/// </summary>
|
2013-07-26 15:10:03 -04:00
|
|
|
public class Intents
|
|
|
|
{
|
2013-11-11 21:05:19 -05:00
|
|
|
/// <summary>Broadcast this intent to lock the database (with quick unlock if enabled)</summary>
|
2013-07-25 08:47:05 -04:00
|
|
|
public const String LockDatabase = "keepass2android.lock_database";
|
2013-11-11 21:05:19 -05:00
|
|
|
/// <summary>Broadcast this intent to close the database (no quick unlock, full close)</summary>
|
|
|
|
public const String CloseDatabase = "keepass2android.close_database";
|
2013-02-23 11:43:42 -05:00
|
|
|
|
2013-07-26 15:10:03 -04:00
|
|
|
/// <summary>This intent will be broadcast once the database has been locked. Sensitive information displayed should be hidden and unloaded.</summary>
|
|
|
|
public const String DatabaseLocked = "keepass2android.database_locked";
|
|
|
|
|
2013-06-15 06:40:01 -04:00
|
|
|
public const String CopyUsername = "keepass2android.copy_username";
|
|
|
|
public const String CopyPassword = "keepass2android.copy_password";
|
|
|
|
public const String CheckKeyboard = "keepass2android.check_keyboard";
|
2013-02-23 11:43:42 -05:00
|
|
|
|
2013-06-15 06:40:01 -04:00
|
|
|
public const String FileBrowse = "org.openintents.action.PICK_FILE";
|
|
|
|
public const int RequestCodeFileBrowseForOpen = 987321;
|
|
|
|
public const int RequestCodeFileBrowseForCreate = 987322;
|
|
|
|
public const int RequestCodeFileBrowseForBinary = 987323;
|
|
|
|
public const int RequestCodeFileBrowseForKeyfile = 987324;
|
2013-02-23 11:43:42 -05:00
|
|
|
|
2013-06-15 06:40:01 -04:00
|
|
|
public const String ShowNotification = "keepass2android.show_notification";
|
2013-02-23 11:43:42 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|