common.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __BARRY_COMMON_H__
00023 #define __BARRY_COMMON_H__
00024
00025 #include "dll.h"
00026 #include <iostream>
00027
00028 #define VENDOR_RIM 0x0fca
00029 #define PRODUCT_RIM_BLACKBERRY 0x0001
00030 #define PRODUCT_RIM_PEARL_DUAL 0x0004
00031 #define PRODUCT_RIM_PEARL_8120 0x8004
00032 #define PRODUCT_RIM_PEARL 0x0006
00033 #define PRODUCT_RIM_STORM 0x8007
00034
00035 #define BLACKBERRY_INTERFACE 0
00036 #define BLACKBERRY_CONFIGURATION 1
00037 #define BLACKBERRY_DB_CLASS 0xff
00038
00039 #define IPRODUCT_RIM_HANDHELD 2
00040 #define IPRODUCT_RIM_MASS_STORAGE 4
00041 #define IPRODUCT_RIM_COMPOSITE 5
00042
00043
00044
00045 #define BARRY_MIN_PASSWORD_TRIES 3
00046 #define BARRY_MIN_PASSWORD_TRIES_ASC "3"
00047
00048 #define BLACKBERRY_CHARSET "WINDOWS-1252"
00049
00050 namespace Barry {
00051
00052
00053 BXEXPORT void Init(bool data_dump_mode = false, std::ostream *logStream = &std::cout);
00054
00055 }
00056
00057 #endif
00058