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_FLIP 0x8001 // 8200 series
00032 #define PRODUCT_RIM_PEARL_8120 0x8004
00033 #define PRODUCT_RIM_PEARL 0x0006
00034 #define PRODUCT_RIM_STORM 0x8007
00035
00036 #define BLACKBERRY_INTERFACE 0
00037 #define BLACKBERRY_CONFIGURATION 1
00038 #define BLACKBERRY_DB_CLASS 0xff
00039
00040 #define IPRODUCT_RIM_HANDHELD 2
00041 #define IPRODUCT_RIM_MASS_STORAGE 4
00042 #define IPRODUCT_RIM_COMPOSITE 5
00043
00044
00045
00046 #define BARRY_MIN_PASSWORD_TRIES 3
00047 #define BARRY_MIN_PASSWORD_TRIES_ASC "3"
00048
00049 #define BLACKBERRY_CHARSET "WINDOWS-1252"
00050
00051 namespace Barry {
00052
00053
00054 BXEXPORT void Init(bool data_dump_mode = false, std::ostream *logStream = &std::cout);
00055 BXEXPORT void Verbose(bool data_dump_mode = true);
00056 BXEXPORT bool IsVerbose();
00057
00058 }
00059
00060 #endif
00061