File tree Expand file tree Collapse file tree 3 files changed +39
-2
lines changed
Expand file tree Collapse file tree 3 files changed +39
-2
lines changed Original file line number Diff line number Diff line change 1+ #ifndef WEBDRIVER_H
2+ #define WEBDRIVER_H
3+ /* *
4+ * @mainpage This is autogenerated documentation for QtWebKitWebDriver. <br>
5+ * Public API for WD is in file inc/QtWebkitWebDriver.h
6+ */
7+ /* * @file
8+ * public API of QtWebkitWD
9+ */
10+
11+ #include < viewfactory.h>
12+
13+ #ifdef __cplusplus
14+ extern " C"
15+ {
16+ #endif
17+ /* * @fn int main_server(int argc, char *argv[])
18+ * @brief starts WD server with parameters
19+ * @return EXIT_SUCCESS in case of successfull start of WD, errorcode otherwise
20+ **/
21+ int main_server (int argc, char *argv[]);
22+
23+ #ifdef __cplusplus
24+ }
25+ #endif
26+
27+ /* * @fn void registerView(std::string name)
28+ * @brief register View for testing
29+ * @param[in] name factory name for this class type
30+ **/
31+ template <class T >
32+ void registerView (std::string name)
33+ {
34+ ViewFactory::GetInstance ()->add <T>(name);
35+ }
36+
37+ #endif // WEBDRIVER_H
Original file line number Diff line number Diff line change 1414#include < QtWebKit/QtWebKit>
1515#endif
1616
17- #include < QtWebkitWebDriver .h>
17+ #include < WebDriver .h>
1818
1919
2020int main (int argc, char *argv[])
Original file line number Diff line number Diff line change 6565#include " chrome/test/webdriver/webdriver_util.h"
6666#include " third_party/mongoose/mongoose.h"
6767#include " base/json/json_reader.h"
68- #include < QtWebkitWebDriver .h>
68+ #include < WebDriver .h>
6969
7070#if defined(OS_WIN)
7171#include < time.h>
You can’t perform that action at this time.
0 commit comments