/* 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 3 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 . */ using System; namespace keepass2android { /// /// Contains constants to be used in intents /// public class Intents { /// Broadcast this intent to lock the database (with quick unlock if enabled) public const String LockDatabase = "keepass2android.lock_database"; /// Broadcast this intent to close the database (no quick unlock, full close) public const String CloseDatabase = "keepass2android.close_database"; /// This intent will be broadcast once the database has been locked. Sensitive information displayed should be hidden and unloaded. public const String DatabaseLocked = "keepass2android.database_locked"; /// This intent will be broadcast once the keyboard data has been cleared public const String KeyboardCleared = "keepass2android.keyboard_cleared"; public const String CopyUsername = "keepass2android.copy_username"; public const String CopyPassword = "keepass2android.copy_password"; public const String CheckKeyboard = "keepass2android.check_keyboard"; public const String StartWithOtp = "keepass2android.startWithOtp"; public const String OtpExtraKey = "keepass2android.Otp"; 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; public const String ShowNotification = "keepass2android.show_notification"; } }