Skip to content

Commit 6f1432c

Browse files
author
hekra01
authored
Update main.cc
1 parent e7c6f99 commit 6f1432c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/Test/main.cc

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
** $CISCO_END_LICENSE$
1717
**
1818
****************************************************************************/
19-
19+
/**
20+
* This can be used as a template to insert QtWebDriver in an application code
21+
* QtWebdriver shoud be started in the same process as the QApplication
22+
*/
2023
#include "Headers.h"
2124

2225
void setQtSettings();
@@ -51,7 +54,11 @@ int main(int argc, char *argv[])
5154
return 0;
5255
}
5356

54-
/* Start webdriver */
57+
// Application specific code
58+
// ....
59+
// ....
60+
61+
// Start webdriver
5562
int startError = wd_setup(argc, argv);
5663
if (startError){
5764
std::cout << "Error while starting server, errorCode " << startError << std::endl;
@@ -128,4 +135,4 @@ void PrintHelp() {
128135
<< " Option from webserver config file will have" << std::endl
129136
<< " more priority than commandline param" << std::endl
130137
<< " that specify the same option." << std::endl;
131-
}
138+
}

0 commit comments

Comments
 (0)