OLD | NEW |
1 #ifndef _CONFIG_H | 1 #ifndef _CONFIG_H |
2 #define _CONFIG_H | 2 #define _CONFIG_H |
3 | 3 |
4 #define TIMER_THREAD_SLEEP_TAB_LOOP 10000 | 4 #define TIMER_THREAD_SLEEP_TAB_LOOP 10000 |
5 | 5 |
6 // Should we to on debug information | 6 // Should we to on debug information |
7 #ifdef _DEBUG | 7 #ifdef _DEBUG |
8 #define ENABLE_DEBUG_INFO | 8 #define ENABLE_DEBUG_INFO |
9 #define ENABLE_DEBUG_GENERAL | 9 #define ENABLE_DEBUG_GENERAL |
10 #define ENABLE_DEBUG_ERROR | 10 #define ENABLE_DEBUG_ERROR |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 134 |
135 // If defined, we will surround most of the methods with try catch | 135 // If defined, we will surround most of the methods with try catch |
136 #undef CATCHALL | 136 #undef CATCHALL |
137 | 137 |
138 // If defined, we will throw exceptions for errors | 138 // If defined, we will throw exceptions for errors |
139 // Otherwise we will try to handle it in a silent way, and only report | 139 // Otherwise we will try to handle it in a silent way, and only report |
140 #undef THROW_ON_ERROR | 140 #undef THROW_ON_ERROR |
141 | 141 |
142 // Status bar pane name | 142 // Status bar pane name |
143 #if (defined PRODUCT_ADBLOCKPLUS) | 143 #if (defined PRODUCT_ADBLOCKPLUS) |
144 #define STATUSBAR_PANE_NAME "AdblockPlusStatusBarPane" | 144 #define STATUSBAR_PANE_NAME L"AdblockPlusStatusBarPane" |
145 #endif | 145 #endif |
146 | 146 |
147 // Status bar pane number | 147 // Status bar pane number |
148 #if (defined PRODUCT_ADBLOCKPLUS) | 148 #if (defined PRODUCT_ADBLOCKPLUS) |
149 #define STATUSBAR_PANE_NUMBER 2 | 149 #define STATUSBAR_PANE_NUMBER 2 |
150 #endif | 150 #endif |
151 | 151 |
152 #define ENGINE_STARTUP_TIMEOUT 10000 | 152 #define ENGINE_STARTUP_TIMEOUT 10000 |
153 | 153 |
154 | 154 |
155 | 155 |
156 #endif // _CONFIG_H | 156 #endif // _CONFIG_H |
OLD | NEW |