# -*- coding: utf-8 -*-

VIEWMAXSIZE = 100000
#event
EVENT_GEMINI_CONF=1
EVENT_CAMD_SWITCH=2
#EVENT_ONLINETEST=3
EVENT_CHANNEL=4
EVENT_EXPERT_STR=5
EVENT_CAID_LIST=6
EVENT_BACKGROUND=7
EVENT_HARDWARE=8
EVENT_MOUNT=9
EVENT_CHANNEL_SIZE=10
EVENT_SENSORFIELD=11
EVENT_QBCALLBACK=12
#Funktionen
GETCAMDLIST=100
GETCONFIGLIST=101
SETCAMDCONFIG=102
GETEXPERTLIST=103
GETCAIDLIST=104
GETEXPERTSTR=105
GETPRIOLIST=106
GETBLOCKLIST=107
GETFILELIST=108
SETEXPERTLINE=109
CONFIGFUNC=110
GETMOUNTLIST=111
GETFILEINFOS=112
MOUNTDEVICE=113
GETPARTLIST=114
UMOUNTPART=115
UMOUNTMOUNTPOINT=116
GETEITINFOS=117
SETCDSPEED=118
SETPRIOLIST=119
SETGENERAL=120
GETPROCLIST=121
MOUNTPART=122
GETPLAYLIST=123
GETCPULOAD=124
GETCUTLIST=125
GETFOLDERPROP=126
LOOPDEVFUNC=127
GETSIMPLEFILELIST=128
CRYPTSTRING=129
GETATATEMP=130
SETFOLDERPROP=131
MOUNTLOOP=132
#geminiconf
CRYPT_ICON_SHOW=1
CRYPT_LABEL_SHOW=2
EXPERT_LABEL_SHOW=4
EXPERT_WINDOW_SHOW=8
PING_TEST_SHOW=16
PRIO_LIST_ON=32
ORBITAL_POS_SHOW=64
CHANNEL_NR_SHOW=128
#BackgroundEvents
BG_BLINK=1
BG_SHOW=2
BG_DELETE=4
BG_MAIL=8
BG_SWAP=16
BG_RSYNC=32
BG_STREAM=64
BG_TORRENT=128
BG_COPYMOVE=256
BG_EXTRACT=512
BG_UPDATE=1024
BG_TERMIN=2048
BG_MEDIASCAN=4096
BG_FACEBOOK=8192
BG_SYSTEM=16384
BG_JABBER=32768
BG_DBUS_ERR=65536
BG_TWITTER=131072
BG_CACHE_ERR=262144
BG_DOWNLOAD=524288
#HardwareEvents
HW_CHANGED=1
HW_NEW_USB=2
HW_NEW_BLOCK=4
HW_MOUNT_BLOCK=8
HW_REMOVE_USB=16
HW_REMOVE_BLOCK=32
HW_UMOUNT_BLOCK=64
HW_NEW_DEVICEMAPPER=512
HW_REMOVE_DEVICEMAPPER=1024
HW_NEW_NET=2048
HW_NEW_INPUT=4096
HW_NEW_DEVICE=8192
HW_REMOVE_NET=16384
HW_REMOVE_INPUT=32768
HW_NEW_BLUEZ=65536
HW_REMOVE_BLUEZ=131072
HW_NEW_BDI=262144
HW_REMOVE_BDI=524288
#PythonDeviceListe
DEV_TYPE=0
DEV_DEV=1
DEV_DESC=2
DEV_PIC=3
DEV_MODEL=4
DEV_MANU=5
DEV_SNNR=6
DEV_SIZE=7
DEV_PARTS=8
DEV_DEVPATH=9
DEV_STATUS=10
DEV_UUID=11
#PythonPartListe
PART_DEVPATH=0
PART_MPOINT=1
PART_FS=2
PART_OPTIONS=3
PART_FS_TYPE=4
PART_ISMOUNTED=5
PART_CAPA=6
PART_PIC=7
PART_VOLUME=8
PART_UUID=9
PART_T_SIZE=10
PART_F_SIZE=11
PART_U_SIZE=12
PART_DEV=13
PART_START=14
PART_NUMBER=15
#Filesystemtypen
FS_BLOCK=1
FS_AUTO=2
FS_NET=4
FS_FLASH=8
FS_DVD=16
FS_FUSE=32
FS_READONLY=64
FS_LUKS=128
FS_SWAP=256
#Devicetype
ATA=1
SCSI=2
USB=4
ATAPI_CD=8
ATAPI_CF=16
ATA_HDD=32
SCSI_STICK=64
SCSI_DVD=128
SCSI_HDD=256
AUDIO_CD=8192
VIDEO_DVD=16384
DMAPPER=32768
LOOPDEV=65536
USB_MTP=131072
MMCBLK=262144
#Netdevices
NET_DEV=0
NET_TYPE=1
NET_PIC=2
NET_EXTRA=3
NET_AUTOIP=4
NET_IP=5
NET_ACTIVE=6
NET_MASK=7
NET_BCAST=8
#Netdevicetype
NETDEV_ETH=1
NETDEV_WLAN=2
NETDEV_PPP=3
NETDEV_TUN=4
NETDEV_BNEP=5
NETDEV_TAP=6
NETDEV_BRIDGE=7
#Inputdevice
INPUT_KEYBOARD=2
INPUT_MOUSE=4
INPUT_JOYSTICK=16
#Audiodevices
AUDIO_ALSA=1
AUDIO_BT=2

#fuer Filebrowser
FILTER_NONE = 0
FILTER_GOUP = 1
FILTER_DIR = 2
FILTER_FILE = 4
FILTER_LINK = 8

FILTER_PACK = 16
FILTER_IPK = 32
FILTER_SOUND = 64
FILTER_TORRENT = 128
FILTER_SCRIPTE = 256
FILTER_MOVIES = 512
FILTER_ISO = 1024
FILTER_PL = 2048
FILTER_TS = 4096
FILTER_DVD = 8192
FILTER_MVI = 16384
FILTER_PICS = 32768
FILTER_JPEG = 65536
FILTER_TXT = 131072
FILTER_PNG = 262144
FILTER_PDF = 524288
FILTER_MTS = 1048576
FILTER_GIF = 2097152
FILTER_BMP = 4194304
FILTER_MP3 = 8388608
FILTER_WAV = 16777216
FILTER_OGG = 33554432
FILTER_FLAC = 67108864

B_FILTER = 0
B_NAME = 1
B_FULL = 2
B_PICTURE = 3
B_SIZE = 4
B_DATE = 5
B_STATUS = 6
B_SERVICE_REF = 7
B_MODE = 8
B_DESC = 9
B_EXT_DESC = 10
B_EXT=11
B_CFILE=12

SORT_NAME = 0
SORT_DATE_UP = 1
SORT_DATE_DOWN = 2
SORT_SIZE_UP = 3
SORT_SIZE_DOWN = 4

MI_SCANDIR = 0
MI_RESCANDIR = 1
MI_SCANSOUND = 2
MI_SCANPICTURE = 3
MI_SCANPLAYLIST = 4
MI_SCANDIRRECURSIV = 5

