equal
deleted
inserted
replaced
11 } else { |
11 } else { |
12 message("Using real Etel APIs") |
12 message("Using real Etel APIs") |
13 LIBS += -letel \ |
13 LIBS += -letel \ |
14 -letelmm |
14 -letelmm |
15 } |
15 } |
|
16 |
|
17 contains(S60_VERSION, 3.1) { |
|
18 |
|
19 # In S60 3.1 we need to use TMobilePhoneBookInfoV1 instead of TMobilePhoneBookInfoV5. |
|
20 # Note: Etel testsserver uses V5 always. |
|
21 !contains(DEFINES, SYMBIANSIM_BACKEND_USE_ETEL_TESTSERVER) { |
|
22 DEFINES += SYMBIANSIM_BACKEND_PHONEBOOKINFOV1 |
|
23 } |
|
24 |
|
25 # S60 3.1 device will reboot when removing several nonexisting contacts in |
|
26 # sequence. The first remove operation will succeed but right after the second |
|
27 # remove operation has completed the device reboots. To prevent rebooting |
|
28 # we read the reserved slots before and really remove those contacts that |
|
29 # really exist. |
|
30 DEFINES += SYMBIANSIM_BACKEND_CHECK_BEFORE_REMOVE |
|
31 } |
|
32 |
|
33 # In pre 10.1 platforms we need a small delay between requests to prevent |
|
34 # S60 3.2 devices from rebooting and S60 5.0 devices from reporting a |
|
35 # server busy error. Not sure if this is really needed for S60 3.1 but |
|
36 # it does not hurt. |
|
37 contains(S60_VERSION, 3.1) | contains(S60_VERSION, 3.2) | contains(S60_VERSION, 5.0) { |
|
38 DEFINES += SYMBIANSIM_BACKEND_USE_DELAY |
|
39 } |
16 } |
40 } |