Added support for Blackberry 8120
[barry.git] / src / common.h
blobabde63070f999ca36d211b6d5e4f3c6e7b7f1f2c
1 ///
2 /// \file common.h
3 /// General header for the Barry library
4 ///
6 /*
7 Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/)
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 See the GNU General Public License in the COPYING file at the
19 root directory of this project for more details.
22 #ifndef __BARRY_COMMON_H__
23 #define __BARRY_COMMON_H__
25 #include "dll.h"
27 #define VENDOR_RIM 0x0fca
28 #define PRODUCT_RIM_BLACKBERRY 0x0001
29 #define PRODUCT_RIM_PEARL_DUAL 0x0004
30 #define PRODUCT_RIM_PEARL_8120 0x8004
31 #define PRODUCT_RIM_PEARL 0x0006
33 #define BLACKBERRY_CONFIGURATION 1
34 #define BLACKBERRY_DB_CLASS 0xff
36 namespace Barry {
38 BXEXPORT void Init(bool data_dump_mode = false);
40 } // namespace Barry
42 #endif