DIRECTORY_TYPE = "directory"
FILE_TYPE = "file"

JSON_FD_TYPE_KEY = "type"
JSON_FD_NAME_KEY = "name"

INPUT_JSON_ADB = "adb"
INPUT_JSON_PULL = "pull"
INPUT_JSON_INPUT = "input"
INPUT_JSON_OUTPUT = "output"
INPUT_JSON_FILTER = "filter"

GETPROP_MODEL = "ro.product.model"
GETPROP_BRAND = "ro.product.brand"
GETPROP_MANUFACTURER = "ro.product.manufacturer"
GETPROP_CPU = "ro.product.cpu.abi"
GETPROP_SUPPORTED_ARCHS = "ro.product.cpu.abilist"
GETPROP_NATIVE_ABI = "ro.system.product.cpu.abi"
GETPROP_NAME = "ro.product.name"

ABOUT_DEVICE_MODEL_KEY = "model"
ABOUT_DEVICE_BRAND_KEY = "brand"
ABOUT_DEVICE_MANUFACTURER_KEY = "manufacturer"
ABOUT_DEVICE_CPU_KEY = "cpu"
ABOUT_DEVICE_SUPPORTED_ARCHS_KEY = "supported_archs"
ABOUT_DEVICE_NATIVE_ABI_KEY = "native_abi"
ABOUT_DEVICE_NAME_KEY = "name"
ABOUT_DEVICE_SDCARD_KEY = "storages"
ABOUT_DEVICE_VIRTUAL_PATH_KEY = "path"
ABOUT_DEVICE_DESCRIPTION_KEY = "description"
ABOUT_DEVICE_TYPE_KEY = "type"
ABOUT_DEVICE_CONNECTION_TYPE_MTP = "mtp"
ABOUT_DEVICE_CONNECTION_TYPE_ADB = "adb"

FILTER_EXCLUDE_KEY = "exclude"
FILTER_DIRECTORIES_KEY = "filter_directories"

SYNC_MAPPER_SOURCE_KEY = "source"
SYNC_MAPPER_DESTINATION_KEY = "destination"
SYNC_MAPPER_INCLUDES_KEY = "includes"
SYNC_MAPPER_EXCLUDES_KEY = "excludes"

WINDOWS_ADB_DOWNLOAD_URL = "https://dl.google.com/android/repository/platform-tools-latest-windows.zip"
LINUX_ADB_DOWNLOAD_URL = "https://dl.google.com/android/repository/platform-tools-latest-linux.zip"
SYSTEM_ADB_DOWNLOAD_ENV_NAME = "ADB_DOWNLOAD"

QGIS_PLUGIN_NAME = "CartoDruid_Device_Sync"
QGIS_SCOPE_NAME = "localsync"
QGIS_CONFIG_KEY = "config"
QGIS_ONLY_UPDATED_KEY = "only_updated"
QGIS_ADB_OR_MTP_KEY = "adb_or_mtp"
QGIS_ADB_BINARY_FOLDER = "adb_binary"
QGIS_CUSTOM_ADB_PATH = "custom_adb_path"

QGIS_LABEL_SELECTED_PROJECT_TEXT = "Current selected projects: {projects}"

CARTODRUID_PROJECT_SPLITTERS = ["cartodroid/projects", "cartodruid/projects"]
CARTODRUID_CONFIG_NAME = "crtdrdLayers.xml"

QGIS_PROJECT_CONFIG_KEY = "connect_project_config"

PROJECT_DATA_DEVICE_ID_KEY = "device_id"
PROJECT_DATA_PROJECT_NAME_KEY = "project_name"
PROJECT_DATA_PATH_KEY = "path"
PROJECT_DATA_STORAGE_ID_KEY = "storage_id"

CARTODRUID_CONNECT_CONFIG_BOX = "config_box"
CARTODRUID_CONNECT_IMAGE_BOX = "image_box"
CARTODRUID_CONNECT_DATA_BOX = "data_box"
CARTODRUID_CONNECT_DATA_LIST = "data_list"
CARTODRUID_CONNECT_DATA_LIST_FULL = "data_list_full"
CARTODRUID_CONNECT_DATA_SELECTED_LAYERS = "data_list_selected_layers"
CARTODRUID_CONNECT_PROJECT = "project"
CARTODRUID_CONNECT_PHOTO_SELECTED_LAYERS= "photo_config"
CARTODRUID_CONNECT_PHOTO_SELECTED_LAYERS_IDS= "photo_config_ids"
CARTODRUID_CONNECT_PHOTO_SAVE_LAYERS = "photo_save_config"

WIZARD_LAYERS_GROUP_NAME = "CartoDruid"
WIZARD_PHOTO_LAYERS_GROUP_NAME = "Photos"
WIZARD_PHOTO_LAYERS_HTML_NOTICE = '<img src="file:///[%"directory"%]/[%"filename"%].jpg" width="300">'