Commit 4e62312c authored by Peter Hutterer's avatar Peter Hutterer Committed by Chase Douglas
Browse files

xserver: update documentation


Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: default avatarChase Douglas <chase.douglas@canonical.com>
Signed-off-by: default avatarChase Douglas <chase.douglas@canonical.com>
parent 18e54c37
...@@ -40,7 +40,21 @@ namespace testing { ...@@ -40,7 +40,21 @@ namespace testing {
/** /**
* @class XServer xorg-gtest-xserver.h xorg/gtest/xorg-gtest-xserver.h * @class XServer xorg-gtest-xserver.h xorg/gtest/xorg-gtest-xserver.h
* *
* Miscellaneous interfaces to communicate with the X server. * Class representing the X server process.
*
* @code
* XServer server;
* server.SetOption("-logfile", "/tmp/Xserver.log");
* server.Start();
*
* ...
*
* if (!server.Terminate()) {
* std::cerr << "Problem terminating server ... killing now ..." << std::endl;
* if (!server.Kill())
* std::cerr << "Problem killing server" << std::endl;
* }
* @endcode
*/ */
class XServer : public xorg::testing::Process { class XServer : public xorg::testing::Process {
public: public:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment