1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
/*!
\page using-cpp Using the C++ API
Install the development headers:
\code{.txt}
sudo apt-get install liblomiri-connectivity-qt1-dev
\endcode
Enable c++11 and use pkg-config to get the necessary compilation flags:
\code{.txt}
$ g++ myapp.cpp -std=c++11 `pkg-config --cflags --libs lomiri-connectivity-qt1` -o myapp
\endcode
The headers can then be included as:
\code{.cpp}
// includes the lomiri::connectivity::NetworkingStatus class
#include <lomiri/connectivity/networking-status.h>
\endcode
<b>note:</b><br />
Accessing the networking status from confined applications requires the <i>connectivity</i> policy group.
*/
|