Merge lp:~unity-api-team/connectivity-api/connectivity-service-source-package-shuffle into lp:connectivity-api/14.10

Proposed by Antti Kaijanmäki
Status: Merged
Approved by: Charles Kerr
Approved revision: 22
Merged at revision: 16
Proposed branch: lp:~unity-api-team/connectivity-api/connectivity-service-source-package-shuffle
Merge into: lp:connectivity-api/14.10
Diff against target: 17450 lines (+6872/-9840)
117 files modified
.bzrignore (+2/-0)
CMakeLists.txt (+18/-80)
data/CMakeLists.txt (+0/-26)
data/connectivity-cpp.pc.in (+0/-11)
data/session.conf (+0/-42)
data/system.conf (+0/-23)
dbus-cpp/services/nm.h (+0/-986)
dbus-cpp/services/ofono.h (+0/-339)
dbus-cpp/services/urfkill.h (+0/-338)
dbus-cpp/services/util.h (+0/-36)
debian/connectivity-doc.install (+1/-0)
debian/control (+46/-27)
debian/libconnectivity-cpp-dev.install (+0/-3)
debian/libconnectivity-cpp-doc.install (+0/-1)
debian/libconnectivity-cpp0.install (+0/-1)
debian/libconnectivity-qt1-dev.install (+3/-0)
debian/libconnectivity-qt1.install (+1/-0)
debian/qml-module-ubuntu-connectivity.install (+1/-0)
doc/CMakeLists.txt (+0/-65)
doc/Doxyfile.in (+0/-1869)
doc/dbus/connectivity-api.txt (+26/-0)
doc/pages/mainpage.dox (+0/-23)
doc/pages/networking-status.dox (+0/-31)
doc/pages/using.dox (+0/-23)
doc/qt/CMakeLists.txt (+3/-0)
doc/qt/cpp/CMakeLists.txt (+40/-0)
doc/qt/cpp/Doxyfile.in (+2316/-0)
doc/qt/cpp/css/base.css (+638/-0)
doc/qt/cpp/css/qtquick.css (+772/-0)
doc/qt/cpp/css/reset.css (+8/-0)
doc/qt/cpp/css/scratch.css (+61/-0)
doc/qt/cpp/examples/CMakeLists.txt (+18/-0)
doc/qt/cpp/examples/example_networking_status.cpp (+86/-0)
doc/qt/cpp/pages/mainpage.dox (+18/-0)
doc/qt/cpp/pages/networking-status.dox (+35/-0)
doc/qt/cpp/pages/using.dox (+26/-0)
doc/qt/cpp/ubuntu-appdev-site-footer.html (+53/-0)
doc/qt/cpp/ubuntu-appdev-site-header.html (+35/-0)
doc/qt/qml/CMakeLists.txt (+41/-0)
doc/qt/qml/connectivity-qml.qdocconf.in (+55/-0)
doc/qt/qml/css/base.css (+638/-0)
doc/qt/qml/css/qtquick.css (+772/-0)
doc/qt/qml/css/reset.css (+8/-0)
doc/qt/qml/css/scratch.css (+61/-0)
doc/qt/qml/examples/example_networking_status.qml (+66/-0)
doc/qt/qml/pages/mainpage.qdoc (+25/-0)
doc/qt/qml/qml-api/NetworkingStatus.qml (+84/-0)
examples/CMakeLists.txt (+0/-51)
examples/example_airplane_mode.cpp (+0/-71)
examples/example_available_links.cpp (+0/-67)
examples/example_connect_to_wifi_network.cpp (+0/-61)
examples/example_networking_status.cpp (+0/-88)
examples/example_tor_over_vpn.cpp (+0/-91)
include/connectivity/networking/link.h (+0/-125)
include/connectivity/networking/manager.h (+0/-144)
include/connectivity/networking/service.h (+0/-83)
include/connectivity/networking/service/tethering/service.h (+0/-59)
include/connectivity/networking/service/tor/service.h (+0/-46)
include/connectivity/networking/service/vpn/service.h (+0/-49)
include/connectivity/networking/wifi/access-point.h (+0/-56)
include/connectivity/networking/wifi/link.h (+0/-61)
include/connectivity/networking/wwan/link.h (+0/-54)
src/CMakeLists.txt (+0/-33)
src/manager.cpp (+0/-36)
src/platform/nmofono/CMakeLists.txt (+0/-41)
src/platform/nmofono/bounded_integer.h (+0/-178)
src/platform/nmofono/kill-switch.cpp (+0/-96)
src/platform/nmofono/kill-switch.h (+0/-84)
src/platform/nmofono/manager.cpp (+0/-263)
src/platform/nmofono/manager.h (+0/-60)
src/platform/nmofono/manager_ref.h (+0/-483)
src/platform/nmofono/ofono_nm_connectivity_manager.cpp (+0/-338)
src/platform/nmofono/service.cpp (+0/-18)
src/platform/nmofono/service.h (+0/-47)
src/platform/nmofono/set_name_for_thread.cpp (+0/-24)
src/platform/nmofono/set_name_for_thread.h (+0/-28)
src/platform/nmofono/wifi/access-point.cpp (+0/-101)
src/platform/nmofono/wifi/access-point.h (+0/-82)
src/platform/nmofono/wifi/grouped-access-point.cpp (+0/-218)
src/platform/nmofono/wifi/grouped-access-point.h (+0/-84)
src/platform/nmofono/wifi/link.cpp (+0/-503)
src/platform/nmofono/wifi/link.h (+0/-86)
src/platform/util.cpp (+0/-33)
src/qt/CMakeLists.txt (+14/-0)
src/qt/include/ubuntu/connectivity/networking-status.h (+129/-0)
src/qt/qml/CMakeLists.txt (+1/-0)
src/qt/qml/Ubuntu/CMakeLists.txt (+1/-0)
src/qt/qml/Ubuntu/Connectivity/CMakeLists.txt (+38/-0)
src/qt/qml/Ubuntu/Connectivity/networking-status.cpp (+43/-0)
src/qt/qml/Ubuntu/Connectivity/networking-status.h (+52/-0)
src/qt/qml/Ubuntu/Connectivity/plugin.cpp (+40/-0)
src/qt/qml/Ubuntu/Connectivity/plugin.h (+36/-0)
src/qt/qml/Ubuntu/Connectivity/qmldir (+2/-0)
src/qt/src/CMakeLists.txt (+49/-0)
src/qt/src/connectivity-qt.pc.in (+10/-0)
src/qt/src/dbus-properties-interface.cpp (+34/-0)
src/qt/src/dbus-properties-interface.h (+53/-0)
src/qt/src/networking-status.cpp (+188/-0)
tests/CMakeLists.txt (+0/-132)
tests/integration/CMakeLists.txt (+1/-0)
tests/integration/qt/CMakeLists.txt (+13/-0)
tests/integration/qt/cpp/CMakeLists.txt (+16/-0)
tests/integration/qt/cpp/main.cpp (+36/-0)
tests/integration/qt/cpp/tst_networking.cpp (+51/-0)
tests/integration/qt/cpp/tst_networking.h (+36/-0)
tests/integration/qt/qml/CMakeLists.txt (+19/-0)
tests/integration/qt/qml/tst_api.qml (+53/-0)
tests/mocks/urfkill.h (+0/-162)
tests/sig_term_catcher.h (+0/-74)
tests/test_data.h.in (+0/-109)
tests/test_flight_mode.cpp (+0/-138)
tests/test_networking_status.cpp (+0/-178)
tests/test_service.h (+0/-124)
tests/test_wifi_connect.cpp (+0/-269)
tests/test_wifi_link.cpp (+0/-362)
tests/test_wifi_link_dedup.cpp (+0/-240)
tests/test_wifi_link_enable_disable.cpp (+0/-186)
To merge this branch: bzr merge lp:~unity-api-team/connectivity-api/connectivity-service-source-package-shuffle
Reviewer Review Type Date Requested Status
Robert Bruce Park (community) Approve
Timo Jyrinki (community) Needs Fixing
Charles Kerr (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+231431@code.launchpad.net

Commit message

* Move out connectivity-cpp to lp:indicator-network
* Move in libconnectivity-qt and qtdeclarative5-connectivity-plugin
  from lp:indicator-network
* removes binary packages
  - libconnectivity-cpp0
  - libconnectivity-cpp-dev
  - libconnectivity-cpp-doc
* adds binary packages:
  - libconnectivity-qt1
  - libconnectivity-qt1-dev
  - qml-module-ubuntu-connectivity
  - connectivity-doc

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
21. By Antti Kaijanmäki

fix coverage target.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
22. By Antti Kaijanmäki

add missing dbus-test-runner builddep

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Charles Kerr (charlesk) :
review: Approve
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Antti asked to check the debian/ changes. Nothing wrong otherwise, but please use the qml-module-foo naming instead, so that it won't need to be renamed later again.

See bug #1342031.

So, it'd be qml-module-connectivity and referred to as module, not a plugin. Please also change the dependencies to point to the correct packages instead of the transtional ones:

qml-module-qtquick2,
qml-module-qttest,

review: Needs Fixing
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

For the connectivity QML module, the precise naming depends on which name you install it with.

For example, the "test" in qtdeclarative5 naming became "qttest" in the new naming since it's installed under /usr/lib/*/qt5/qml/QtTest/

qml-module-qtquick-xmllistmodel has path /usr/lib/*/qt5/qml/QtQuick/XmlListModel, as an example if you have more than one subdir.

23. By Antti Kaijanmäki

change qml package name.

24. By Antti Kaijanmäki

rename qml module

Revision history for this message
Robert Bruce Park (robru) wrote :

lgtm

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '.bzrignore'
--- .bzrignore 2014-04-11 13:58:10 +0000
+++ .bzrignore 2014-08-21 18:21:03 +0000
@@ -2,3 +2,5 @@
2.cproject2.cproject
3.settings3.settings
4build4build
5*~
6*.user
57
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2014-05-28 15:29:04 +0000
+++ CMakeLists.txt 2014-08-21 18:21:03 +0000
@@ -1,31 +1,22 @@
1# Copyright © 2013 Canonical Ltd.
2#
3# This program is free software: you can redistribute it and/or modify it
4# under the terms of the GNU Lesser General Public License version 3,
5# as published by the Free Software Foundation.
6#
7# This program is distributed in the hope that it will be useful,
8# but WITHOUT ANY WARRANTY; without even the implied warranty of
9# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10# GNU Lesser General Public License for more details.
11#
12# You should have received a copy of the GNU Lesser General Public License
13# along with this program. If not, see <http://www.gnu.org/licenses/>.
14#
15# Authors:
16# Antti Kaijanmäki <antti.kaijanmaki@canonical.com>
17
18cmake_minimum_required(VERSION 2.8)1cmake_minimum_required(VERSION 2.8)
19project(connectivity-cpp)2project(connectivity-cpp)
203
4string(TOLOWER "${CMAKE_BUILD_TYPE}" build_type_lower)
5
21set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)6set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
227
23include(EnableCoverageReport)8include(EnableCoverageReport)
24include(GNUInstallDirs)9include(GNUInstallDirs)
2510
26set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pedantic -Wextra -fPIC -fvisibility=hidden -pthread")11set(COMMON_FLAGS "-Wall -Wextra -Wpedantic -fno-permissive -fPIC -fvisibility=hidden -pthread")
27set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pedantic -Wextra -fPIC -pthread")12if(NOT build_type_lower MATCHES debug)
28#set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")13 set(COMMON_FLAGS "${COMMON_FLAGS} -Werror")
14endif()
15
16# "nice bug" in cmake... http://www.cmake.org/Bug/view.php?id=15058
17# let's not set C_FLAGS as it will break pthreads detection \o/
18#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMMON_FLAGS}")
19set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 ${COMMON_FLAGS} -fno-strict-aliasing -fvisibility-inlines-hidden")
2920
30#####################################################################21#####################################################################
31# Enable code coverage calculation with gcov/gcovr/lcov22# Enable code coverage calculation with gcov/gcovr/lcov
@@ -35,78 +26,25 @@
35# * Find html report in subdir coveragereport26# * Find html report in subdir coveragereport
36# * Find xml report feasible for jenkins in coverage.xml27# * Find xml report feasible for jenkins in coverage.xml
37#####################################################################28#####################################################################
38IF(CMAKE_BUILD_TYPE MATCHES [cC][oO][vV][eE][rR][aA][gG][eE])29IF(build_type_lower MATCHES coverage)
39 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftest-coverage -fprofile-arcs" )30 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftest-coverage -fprofile-arcs" )
40 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ftest-coverage -fprofile-arcs" )31 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ftest-coverage -fprofile-arcs" )
41 SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -ftest-coverage -fprofile-arcs" )32 SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -ftest-coverage -fprofile-arcs" )
42 SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -ftest-coverage -fprofile-arcs" )33 SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -ftest-coverage -fprofile-arcs" )
43ENDIF(CMAKE_BUILD_TYPE MATCHES [cC][oO][vV][eE][rR][aA][gG][eE])34ENDIF()
44
45set(CONNECTIVITY_CPP_VERSION_MAJOR 0)
46set(CONNECTIVITY_CPP_VERSION_MINOR 0)
47set(CONNECTIVITY_CPP_VERSION_PATCH 1)
4835
49include(CTest)36include(CTest)
5037
51find_package(PkgConfig REQUIRED)38find_package(PkgConfig REQUIRED)
5239
53include_directories(include)40set(CONNECTIVITY_QT_VERSION_MAJOR 1)
54include_directories(dbus-cpp)41set(CONNECTIVITY_QT_VERSION_MINOR 0)
5542set(CONNECTIVITY_QT_LIB_TARGET connectivity-qt${CONNECTIVITY_QT_VERSION_MAJOR})
56pkg_check_modules(43
57 PROPERTIESCPP REQUIRED
58 properties-cpp
59)
60include_directories(${PROPERTIESCPP_INCLUDE_DIRS})
61
62pkg_check_modules(
63 DBUSCPP REQUIRED
64 dbus-cpp
65)
66include_directories(${DBUSCPP_INCLUDE_DIRS})
67
68pkg_check_modules(
69 NETWORKMANAGER REQUIRED
70 NetworkManager
71)
72include_directories(${NETWORKMANAGER_NCLUDE_DIRS})
73
74# list these here to have them visible in Qt Creator
75set(CONNECTIVITY_INTERFACES
76 include/connectivity/networking/link.h
77 include/connectivity/networking/manager.h
78 include/connectivity/networking/service.h
79
80 include/connectivity/networking/service/tethering/service.h
81 include/connectivity/networking/service/tor/service.h
82 include/connectivity/networking/service/vpn/service.h
83
84 include/connectivity/networking/wifi/access-point.h
85 include/connectivity/networking/wifi/link.h
86
87 include/connectivity/networking/wwan/link.h
88)
89add_custom_target(QtCreatorHeaderHack SOURCES ${CONNECTIVITY_INTERFACES})
90
91# list these here to have them visible in Qt Creator
92set(DBUS_INTERFACES
93 dbus-cpp/services/nm.h
94 dbus-cpp/services/ofono.h
95 dbus-cpp/services/urfkill.h
96)
97add_custom_target(QtCreatorHeaderHack2 SOURCES ${DBUS_INTERFACES})
98
99add_subdirectory(data)
100add_subdirectory(doc)44add_subdirectory(doc)
101add_subdirectory(examples)
102enable_testing()45enable_testing()
103add_subdirectory(tests)46add_subdirectory(tests)
104add_subdirectory(src)47add_subdirectory(src)
10548
106install(49enable_coverage_report(TARGETS connectivity-qt1
107 DIRECTORY include/
108 DESTINATION include/connectivity-cpp-${CONNECTIVITY_CPP_VERSION_MAJOR}
109)
110
111enable_coverage_report(TARGETS connectivity-cpp
112 FILTER ${CMAKE_SOURCE_DIR}/tests/* ${CMAKE_BINARY_DIR}/*)50 FILTER ${CMAKE_SOURCE_DIR}/tests/* ${CMAKE_BINARY_DIR}/*)
11351
=== removed directory 'data'
=== removed file 'data/CMakeLists.txt'
--- data/CMakeLists.txt 2014-01-23 22:09:36 +0000
+++ data/CMakeLists.txt 1970-01-01 00:00:00 +0000
@@ -1,26 +0,0 @@
1# Copyright © 2013 Canonical Ltd.
2#
3# This program is free software: you can redistribute it and/or modify it
4# under the terms of the GNU Lesser General Public License version 3,
5# as published by the Free Software Foundation.
6#
7# This program is distributed in the hope that it will be useful,
8# but WITHOUT ANY WARRANTY; without even the implied warranty of
9# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10# GNU Lesser General Public License for more details.
11#
12# You should have received a copy of the GNU Lesser General Public License
13# along with this program. If not, see <http://www.gnu.org/licenses/>.
14#
15# Authors:
16# Antti Kaijanmäki <antti.kaijanmaki@canonical.com>
17
18configure_file(
19 connectivity-cpp.pc.in connectivity-cpp.pc @ONLY
20)
21
22install(
23 FILES ${CMAKE_CURRENT_BINARY_DIR}/connectivity-cpp.pc
24 DESTINATION lib/pkgconfig
25)
26
270
=== removed file 'data/connectivity-cpp.pc.in'
--- data/connectivity-cpp.pc.in 2014-04-23 14:18:33 +0000
+++ data/connectivity-cpp.pc.in 1970-01-01 00:00:00 +0000
@@ -1,11 +0,0 @@
1prefix=@CMAKE_INSTALL_PREFIX@
2exec_prefix=${prefix}
3libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
4includedir=${exec_prefix}/include
5
6Name: @CMAKE_PROJECT_NAME@
7Description:
8Version: @CONNECTIVITY_CPP_VERSION_MAJOR@.@CONNECTIVITY_CPP_VERSION_MINOR@.@CONNECTIVITY_CPP_VERSION_PATCH@
9Cflags: -I${includedir}/connectivity-cpp-@CONNECTIVITY_CPP_VERSION_MAJOR@
10Libs: -L${libdir} -lconnectivity-cpp
11Requires: dbus-cpp properties-cpp
120
=== removed file 'data/session.conf'
--- data/session.conf 2014-01-23 22:09:36 +0000
+++ data/session.conf 1970-01-01 00:00:00 +0000
@@ -1,42 +0,0 @@
1<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
2 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
3<busconfig>
4 <!-- If we fork, keep the user's original umask to avoid affecting
5 the behavior of child processes. -->
6 <keep_umask/>
7
8 <type>session</type>
9
10 <listen>unix:tmpdir=/tmp</listen>
11
12 <standard_session_servicedirs />
13
14 <policy context="default">
15 <!-- Allow everything to be sent -->
16 <allow send_destination="*" eavesdrop="true"/>
17 <!-- Allow everything to be received -->
18 <allow eavesdrop="true"/>
19 <!-- Allow anyone to own anything -->
20 <allow own="*"/>
21 </policy>
22
23 <!-- raise the service start timeout to 40 seconds as it can timeout
24 on the live cd on slow machines -->
25 <limit name="service_start_timeout">60000</limit>
26
27 <!-- the memory limits are 1G instead of say 4G because they can't exceed 32-bit signed int max -->
28 <limit name="max_incoming_bytes">1000000000</limit>
29 <limit name="max_outgoing_bytes">1000000000</limit>
30 <limit name="max_message_size">1000000000</limit>
31 <limit name="service_start_timeout">120000</limit>
32 <limit name="auth_timeout">240000</limit>
33 <limit name="max_completed_connections">100000</limit>
34 <limit name="max_incomplete_connections">10000</limit>
35 <limit name="max_connections_per_user">100000</limit>
36 <limit name="max_pending_service_starts">10000</limit>
37 <limit name="max_names_per_connection">50000</limit>
38 <limit name="max_match_rules_per_connection">50000</limit>
39 <limit name="max_replies_per_connection">50000</limit>
40 <limit name="reply_timeout">300000</limit>
41
42</busconfig>
430
=== removed file 'data/system.conf'
--- data/system.conf 2014-01-23 22:09:36 +0000
+++ data/system.conf 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
2 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
3<busconfig>
4 <!-- If we fork, keep the user's original umask to avoid affecting
5 the behavior of child processes. -->
6 <keep_umask/>
7
8 <type>system</type>
9
10 <listen>unix:tmpdir=/tmp</listen>
11
12 <standard_system_servicedirs/>
13
14 <policy context="default">
15 <!-- Allow everything to be sent -->
16 <allow send_destination="*" eavesdrop="true"/>
17 <!-- Allow everything to be received -->
18 <allow eavesdrop="true"/>
19 <!-- Allow anyone to own anything -->
20 <allow own="*"/>
21 </policy>
22
23</busconfig>
240
=== removed directory 'dbus-cpp'
=== removed directory 'dbus-cpp/services'
=== removed file 'dbus-cpp/services/nm.h'
--- dbus-cpp/services/nm.h 2014-04-30 12:06:30 +0000
+++ dbus-cpp/services/nm.h 1970-01-01 00:00:00 +0000
@@ -1,986 +0,0 @@
1/*
2 * Copyright © 2012-2013 Canonical Ltd.
3 *
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License version 3,
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Authored by: Antti Kaijanmäki <antti.kaijanmaki@canonical.com>
17 */
18#ifndef PLATFORM_MANAGER_NMOFONO_NM_H
19#define PLATFORM_MANAGER_NMOFONO_NM_H
20
21#include <core/dbus/bus.h>
22#include <core/dbus/object.h>
23#include <core/dbus/property.h>
24#include <core/dbus/service.h>
25#include <core/dbus/types/object_path.h>
26#include <core/dbus/types/any.h>
27#include <core/dbus/types/struct.h>
28#include <core/dbus/types/stl/map.h>
29#include <core/dbus/types/stl/string.h>
30#include <core/dbus/types/stl/tuple.h>
31#include <core/dbus/types/stl/vector.h>
32#include <NetworkManager/NetworkManager.h>
33#include "util.h"
34
35namespace org
36{
37namespace freedesktop
38{
39namespace NetworkManager
40{
41 struct Interface {
42
43 struct AccessPoint
44 {
45 static const std::string& name()
46 {
47 static const std::string s{NM_DBUS_INTERFACE_ACCESS_POINT};
48 return s;
49 }
50
51 struct Property {
52 struct Frequency
53 {
54 static const std::string& name()
55 {
56 static const std::string s{"Frequency"};
57 return s;
58 }
59
60 typedef AccessPoint Interface;
61 typedef std::uint32_t ValueType;
62 static const bool readable = true;
63 static const bool writable = false;
64 };
65
66 struct Flags
67 {
68 static const std::string& name()
69 {
70 static const std::string s{"Flags"};
71 return s;
72 }
73
74 typedef AccessPoint Interface;
75 typedef std::uint32_t ValueType;
76 static const bool readable = true;
77 static const bool writable = false;
78 };
79
80 struct WpaFlags
81 {
82 static const std::string& name()
83 {
84 static const std::string s{"WpaFlags"};
85 return s;
86 }
87
88 typedef AccessPoint Interface;
89 typedef std::uint32_t ValueType;
90 static const bool readable = true;
91 static const bool writable = false;
92 };
93
94 struct RsnFlags
95 {
96 static const std::string& name()
97 {
98 static const std::string s{"RsnFlags"};
99 return s;
100 }
101
102 typedef AccessPoint Interface;
103 typedef std::uint32_t ValueType;
104 static const bool readable = true;
105 static const bool writable = false;
106 };
107
108 struct Mode
109 {
110 static const std::string& name()
111 {
112 static const std::string s{"Mode"};
113 return s;
114 }
115
116 typedef AccessPoint Interface;
117 typedef std::uint32_t ValueType;
118 static const bool readable = true;
119 static const bool writable = false;
120 };
121
122 struct Ssid
123 {
124 static const std::string& name()
125 {
126 static const std::string s{"Ssid"};
127 return s;
128 }
129
130 typedef AccessPoint Interface;
131 /// @todo bug tvoss.. D-Bus BYTE(y) should be unsigned
132 typedef std::vector<std::int8_t> ValueType;
133 static const bool readable = true;
134 static const bool writable = false;
135 };
136
137 struct HwAddress
138 {
139 static const std::string& name()
140 {
141 static const std::string s{"HwAddress"};
142 return s;
143 }
144
145 typedef AccessPoint Interface;
146 typedef std::string ValueType;
147 static const bool readable = true;
148 static const bool writable = false;
149 };
150
151 struct Strength
152 {
153 static const std::string& name()
154 {
155 static const std::string s{"Strength"};
156 return s;
157 }
158
159 typedef AccessPoint Interface;
160 typedef std::int8_t ValueType;
161 static const bool readable = true;
162 static const bool writable = false;
163 };
164 };
165
166 struct Signal {
167 struct PropertiesChanged
168 {
169 static const std::string& name()
170 {
171 static const std::string s{"PropertiesChanged"};
172 return s;
173 }
174
175 typedef AccessPoint Interface;
176 typedef std::map<std::string, core::dbus::types::Variant> ArgumentType;
177 };
178 };
179
180 AccessPoint(const std::shared_ptr<core::dbus::Object>& object)
181 : object(object),
182 frequency(object->get_property<Property::Frequency>()),
183 hw_address(object->get_property<Property::HwAddress>()),
184 strength(object->get_property<Property::Strength>()),
185 flags(object->get_property<Property::Flags>()),
186 wpa_flags(object->get_property<Property::WpaFlags>()),
187 rsn_flags(object->get_property<Property::RsnFlags>()),
188 mode(object->get_property<Property::Mode>()),
189 ssid(object->get_property<Property::Ssid>()),
190 properties_changed(object->get_signal<Signal::PropertiesChanged>())
191
192 {}
193
194 std::shared_ptr<core::dbus::Object> object;
195 std::shared_ptr<core::dbus::Property<Property::Frequency>> frequency;
196 std::shared_ptr<core::dbus::Property<Property::HwAddress>> hw_address;
197 std::shared_ptr<core::dbus::Property<Property::Strength>> strength;
198 std::shared_ptr<core::dbus::Property<Property::Flags>> flags;
199 std::shared_ptr<core::dbus::Property<Property::WpaFlags>> wpa_flags;
200 std::shared_ptr<core::dbus::Property<Property::RsnFlags>> rsn_flags;
201 std::shared_ptr<core::dbus::Property<Property::Mode>> mode;
202 std::shared_ptr<core::dbus::Property<Property::Ssid>> ssid;
203 std::shared_ptr<core::dbus::Signal<Signal::PropertiesChanged, Signal::PropertiesChanged::ArgumentType>> properties_changed;
204 }; // Interface::AccessPoint
205
206
207 struct ActiveConnection
208 {
209 static const std::string& name()
210 {
211 static const std::string s{NM_DBUS_INTERFACE_ACTIVE_CONNECTION};
212 return s;
213 }
214
215 struct Property {
216 struct Connection
217 {
218 static const std::string& name()
219 {
220 static const std::string s{"Connection"};
221 return s;
222 }
223
224 typedef ActiveConnection Interface;
225 typedef core::dbus::types::ObjectPath ValueType;
226 static const bool readable = true;
227 static const bool writable = false;
228 };
229 struct SpecificObject
230 {
231 static const std::string& name()
232 {
233 static const std::string s{"SpecificObject"};
234 return s;
235 }
236
237 typedef ActiveConnection Interface;
238 typedef core::dbus::types::ObjectPath ValueType;
239 static const bool readable = true;
240 static const bool writable = false;
241 };
242 struct Uuid
243 {
244 static const std::string& name()
245 {
246 static const std::string s{"Uuid"};
247 return s;
248 }
249
250 typedef ActiveConnection Interface;
251 typedef std::string ValueType;
252 static const bool readable = true;
253 static const bool writable = false;
254 };
255 struct Devices
256 {
257 static const std::string& name()
258 {
259 static const std::string s{"Devices"};
260 return s;
261 }
262
263 typedef ActiveConnection Interface;
264 typedef std::vector<core::dbus::types::ObjectPath> ValueType;
265 static const bool readable = true;
266 static const bool writable = false;
267 };
268 struct State
269 {
270 static const std::string& name()
271 {
272 static const std::string s{"State"};
273 return s;
274 }
275
276 typedef ActiveConnection Interface;
277 typedef std::uint32_t ValueType;
278 static const bool readable = true;
279 static const bool writable = false;
280 };
281 struct Default
282 {
283 static const std::string& name()
284 {
285 static const std::string s{"Default"};
286 return s;
287 }
288
289 typedef ActiveConnection Interface;
290 typedef bool ValueType;
291 static const bool readable = true;
292 static const bool writable = false;
293 };
294 struct Default6
295 {
296 static const std::string& name()
297 {
298 static const std::string s{"Default6"};
299 return s;
300 }
301
302 typedef ActiveConnection Interface;
303 typedef bool ValueType;
304 static const bool readable = true;
305 static const bool writable = false;
306 };
307 struct Vpn
308 {
309 static const std::string& name()
310 {
311 static const std::string s{"Vpn"};
312 return s;
313 }
314
315 typedef ActiveConnection Interface;
316 typedef bool ValueType;
317 static const bool readable = true;
318 static const bool writable = false;
319 };
320 struct Master
321 {
322 static const std::string& name()
323 {
324 static const std::string s{"Master"};
325 return s;
326 }
327
328 typedef ActiveConnection Interface;
329 typedef bool ValueType;
330 static const bool readable = true;
331 static const bool writable = false;
332 };
333 }; // struct Property
334
335 struct Signal {
336 struct PropertiesChanged
337 {
338 static const std::string& name()
339 {
340 static const std::string s{"PropertiesChanged"};
341 return s;
342 }
343
344 typedef ActiveConnection Interface;
345 typedef std::map<std::string, core::dbus::types::Variant> ArgumentType;
346 };
347 };
348
349 enum class State
350 {
351 unknown = NM_ACTIVE_CONNECTION_STATE_UNKNOWN,
352 activating = NM_ACTIVE_CONNECTION_STATE_ACTIVATING,
353 activated = NM_ACTIVE_CONNECTION_STATE_ACTIVATED,
354 deactivating = NM_ACTIVE_CONNECTION_STATE_DEACTIVATING,
355 deactivated = NM_ACTIVE_CONNECTION_STATE_DEACTIVATED
356 };
357
358 ActiveConnection(const std::shared_ptr<core::dbus::Object>& object)
359 : object(object),
360 connection(object->get_property<Property::Connection>()),
361 specific_object(object->get_property<Property::SpecificObject>()),
362 uuid(object->get_property<Property::Uuid>()),
363 devices(object->get_property<Property::Devices>()),
364 state(object->get_property<Property::State>()),
365 default_ipv4(object->get_property<Property::Default>()),
366 default_ipv6(object->get_property<Property::Default6>()),
367 vpn(object->get_property<Property::Vpn>()),
368 master(object->get_property<Property::Master>()),
369 properties_changed(object->get_signal<Signal::PropertiesChanged>())
370 {
371 token = properties_changed->connect([this](const Signal::PropertiesChanged::ArgumentType &map){
372 for (auto entry: map) {
373 if (entry.first == "State") {
374#if 0
375 std::uint32_t new_value = entry.second.as<std::uint32_t>();
376 state->update([&new_value](std::uint32_t &current_value){
377 if (new_value == current_value)
378 return false;
379 current_value = new_value;
380 return true;
381 });
382#endif
383 continue;
384 }
385 else {
386 std::cout << "Unexpected Connection.Active update: " << entry.first << std::endl;
387 }
388 }
389 });
390 }
391 ~ActiveConnection()
392 {
393 /// @todo fix dbus-cpp...
394 //properties_changed->disconnect(token);
395 }
396
397 State get_state() { return static_cast<State>(state->get()); }
398
399 std::shared_ptr<core::dbus::Object> object;
400 std::shared_ptr<core::dbus::Property<Property::Connection>> connection;
401 std::shared_ptr<core::dbus::Property<Property::SpecificObject>> specific_object;
402 std::shared_ptr<core::dbus::Property<Property::Uuid>> uuid;
403 std::shared_ptr<core::dbus::Property<Property::Devices>> devices;
404 std::shared_ptr<core::dbus::Property<Property::State>> state;
405 std::shared_ptr<core::dbus::Property<Property::Default>> default_ipv4;
406 std::shared_ptr<core::dbus::Property<Property::Default6>> default_ipv6;
407 std::shared_ptr<core::dbus::Property<Property::Vpn>> vpn;
408 std::shared_ptr<core::dbus::Property<Property::Master>> master;
409
410 private:
411 std::shared_ptr<core::dbus::Signal<Signal::PropertiesChanged, Signal::PropertiesChanged::ArgumentType>> properties_changed;
412 core::dbus::Signal<Signal::PropertiesChanged, Signal::PropertiesChanged::ArgumentType>::SubscriptionToken token;
413 }; // Interface::ActiveConnection
414
415 struct Connection
416 {
417 std::shared_ptr<core::dbus::Object> object;
418
419 Connection(const std::shared_ptr<core::dbus::Object>& object)
420 : object(object)
421 {}
422
423 static const std::string& name()
424 {
425 static const std::string s{NM_DBUS_IFACE_SETTINGS_CONNECTION};
426 return s;
427 }
428
429 struct Method {
430 struct GetSettings
431 {
432 static const std::string& name()
433 {
434 static const std::string s{"GetSettings"};
435 return s;
436 }
437
438 typedef Connection Interface;
439 typedef std::map<std::string, std::map<std::string, core::dbus::types::Variant>> ResultType;
440
441 static std::chrono::milliseconds default_timeout()
442 {
443 return std::chrono::seconds{1};
444 }
445 };
446 };
447
448 Method::GetSettings::ResultType
449 get_settings()
450 {
451
452 auto result = object->invoke_method_synchronously<Method::GetSettings, Method::GetSettings::ResultType>();
453
454 if (result.is_error())
455 connectivity::throw_dbus_exception(result.error());
456
457 return result.value();
458 }
459 }; // Interface::Connection
460
461 struct Device
462 {
463 static const std::string& name()
464 {
465 static const std::string s{NM_DBUS_INTERFACE_DEVICE};
466 return s;
467 }
468
469 enum class Type
470 {
471 unknown = NM_DEVICE_TYPE_UNKNOWN,
472 ethernet = NM_DEVICE_TYPE_ETHERNET,
473 wifi = NM_DEVICE_TYPE_WIFI,
474 unused_1 = NM_DEVICE_TYPE_UNUSED1,
475 unused_2 = NM_DEVICE_TYPE_UNUSED2,
476 bluetooth = NM_DEVICE_TYPE_BT,
477 olpc_mesh = NM_DEVICE_TYPE_OLPC_MESH,
478 wimax = NM_DEVICE_TYPE_WIMAX,
479 modem = NM_DEVICE_TYPE_MODEM,
480 infiniband = NM_DEVICE_TYPE_INFINIBAND,
481 bond = NM_DEVICE_TYPE_BOND,
482 vlan = NM_DEVICE_TYPE_VLAN,
483 adsl = NM_DEVICE_TYPE_ADSL,
484 bridge = NM_DEVICE_TYPE_BRIDGE
485 };
486
487 struct Wireless
488 {
489 static const std::string& name()
490 {
491 static const std::string s{NM_DBUS_INTERFACE_DEVICE_WIRELESS};
492 return s;
493 }
494
495 struct Method {
496 struct GetAccessPoints
497 {
498 static const std::string& name()
499 {
500 static const std::string s{"GetAccessPoints"};
501 return s;
502 }
503
504 typedef Wireless Interface;
505 typedef std::vector<core::dbus::types::ObjectPath> ResultType;
506
507 static std::chrono::milliseconds default_timeout()
508 {
509 return std::chrono::seconds{1};
510 }
511 };
512 };
513
514 struct Signal {
515 struct AccessPointAdded
516 {
517 static const std::string& name()
518 {
519 static const std::string s{"AccessPointAdded"};
520 return s;
521 }
522
523 typedef Wireless Interface;
524 typedef core::dbus::types::ObjectPath ArgumentType;
525 };
526
527 struct AccessPointRemoved
528 {
529 static const std::string& name()
530 {
531 static const std::string s{"AccessPointRemoved"};
532 return s;
533 }
534
535 typedef Wireless Interface;
536 typedef core::dbus::types::ObjectPath ArgumentType;
537 };
538 };
539
540 Wireless(std::shared_ptr<core::dbus::Object> &base)
541 : access_point_added(base->get_signal<Signal::AccessPointAdded>()),
542 access_point_removed(base->get_signal<Signal::AccessPointRemoved>())
543 {}
544
545 std::shared_ptr<core::dbus::Signal<Signal::AccessPointAdded, Signal::AccessPointAdded::ArgumentType>> access_point_added;
546 std::shared_ptr<core::dbus::Signal<Signal::AccessPointRemoved, Signal::AccessPointRemoved::ArgumentType>> access_point_removed;
547
548 }; // Interface::Device::Wireless
549
550 struct Property {
551 struct DeviceType
552 {
553 static const std::string& name()
554 {
555 static const std::string s{"DeviceType"};
556 return s;
557 }
558
559 typedef Device Interface;
560 typedef std::uint32_t ValueType;
561 static const bool readable = true;
562 static const bool writable = false;
563 };
564
565 struct DeviceInterface {
566 static const std::string& name()
567 {
568 static const std::string s{"Interface"};
569 return s;
570 }
571
572 typedef Device Interface;
573 typedef std::string ValueType;
574 static const bool readable = true;
575 static const bool writable = false;
576 };
577
578 struct Autoconnect
579 {
580 static const std::string& name()
581 {
582 static const std::string s{"Autoconnect"};
583 return s;
584 }
585
586 typedef Device Interface;
587 typedef bool ValueType;
588 static const bool readable = true;
589 static const bool writable = true;
590 };
591
592 struct State {
593 static const std::string &name()
594 {
595 static const std::string s{"State"};
596 return s;
597 }
598
599 typedef Device Interface;
600 typedef std::uint32_t ValueType;
601 static const bool readable = true;
602 static const bool writable = false;
603 };
604
605 struct AvailableConnections {
606 static const std::string &name()
607 {
608 static const std::string s{"AvailableConnections"};
609 return s;
610 }
611
612 typedef Device Interface;
613 typedef std::vector<core::dbus::types::ObjectPath> ValueType;
614 static const bool readable = true;
615 static const bool writable = false;
616 };
617
618 struct ActiveConnection {
619 static const std::string &name()
620 {
621 static const std::string s{"ActiveConnection"};
622 return s;
623 }
624
625 typedef Device Interface;
626 typedef core::dbus::types::ObjectPath ValueType;
627 static const bool readable = true;
628 static const bool writable = false;
629 };
630 };
631
632 std::vector<Connection>
633 get_available_connections() {
634 std::vector<Connection> list;
635 for (auto c: available_connections->get()) {
636 list.push_back(Connection(service->object_for_path(c)));
637 }
638 return list;
639 }
640
641 struct Method {
642
643 struct Disconnect
644 {
645 static const std::string& name()
646 {
647 static const std::string s{"Disconnect"};
648 return s;
649 }
650
651 typedef Device Interface;
652 typedef void ResultType;
653
654 static std::chrono::milliseconds default_timeout()
655 {
656 return std::chrono::seconds{1};
657 }
658 };
659 };
660
661 void disconnect()
662 {
663 auto result =
664 object->invoke_method_synchronously<
665 Device::Method::Disconnect, Device::Method::Disconnect::ResultType>();
666
667 if (result.is_error())
668 connectivity::throw_dbus_exception(result.error());
669 }
670
671 struct Signal {
672 struct StateChanged
673 {
674 static const std::string& name()
675 {
676 static const std::string s{"StateChanged"};
677 return s;
678 }
679
680 typedef Device Interface;
681 typedef std::tuple<std::uint32_t, std::uint32_t, std::uint32_t> ArgumentType;
682 };
683 };
684
685
686 Type type() const
687 {
688 return static_cast<Type>(device_type->get());
689 }
690
691 std::string interface() const
692 {
693 return device_interface->get();
694 }
695
696 Wireless::Method::GetAccessPoints::ResultType get_access_points() const
697 {
698 auto result = object->invoke_method_synchronously<Wireless::Method::GetAccessPoints,
699 Wireless::Method::GetAccessPoints::ResultType>();
700
701 if (result.is_error())
702 connectivity::throw_dbus_exception(result.error());
703
704 return result.value();
705 }
706
707 Device(const std::shared_ptr<core::dbus::Service>& service,
708 const std::shared_ptr<core::dbus::Object>& object)
709 : service(service),
710 object(object),
711 device_type(object->get_property<Property::DeviceType>()),
712 autoconnect(object->get_property<Property::Autoconnect>()),
713 device_interface(object->get_property<Property::DeviceInterface>()),
714 state(object->get_property<Property::State>()),
715 state_changed(object->get_signal<Signal::StateChanged>()),
716 available_connections(object->get_property<Property::AvailableConnections>()),
717 active_connection(object->get_property<Property::ActiveConnection>())
718 {}
719
720 std::shared_ptr<core::dbus::Service> service;
721 std::shared_ptr<core::dbus::Object> object;
722 std::shared_ptr<core::dbus::Property<Property::DeviceType>> device_type;
723 std::shared_ptr<core::dbus::Property<Property::Autoconnect>> autoconnect;
724 std::shared_ptr<core::dbus::Property<Property::DeviceInterface>> device_interface;
725 std::shared_ptr<core::dbus::Property<Property::State>> state;
726 std::shared_ptr<core::dbus::Signal<Signal::StateChanged, Signal::StateChanged::ArgumentType>> state_changed;
727 std::shared_ptr<core::dbus::Property<Property::AvailableConnections>> available_connections;
728 std::shared_ptr<core::dbus::Property<Property::ActiveConnection>> active_connection;
729 }; // Interface::Device
730
731 struct NetworkManager
732 {
733 static const std::string& name()
734 {
735 static const std::string s{NM_DBUS_INTERFACE};
736 return s;
737 }
738
739 struct Method {
740 struct ActivateConnection
741 {
742 static const std::string& name()
743 {
744 static const std::string s{"ActivateConnection"};
745 return s;
746 }
747
748 typedef NetworkManager Interface;
749 typedef core::dbus::types::ObjectPath ResultType;
750
751 static std::chrono::milliseconds default_timeout()
752 {
753 return std::chrono::seconds{1};
754 }
755 };
756
757 struct AddAndActivateConnection
758 {
759 static const std::string& name()
760 {
761 static const std::string s{"AddAndActivateConnection"};
762 return s;
763 }
764
765 typedef NetworkManager Interface;
766 typedef std::tuple<core::dbus::types::ObjectPath, core::dbus::types::ObjectPath> ResultType;
767
768 static std::chrono::milliseconds default_timeout()
769 {
770 return std::chrono::seconds{1};
771 }
772 };
773
774 struct GetDevices
775 {
776 static const std::string& name()
777 {
778 static const std::string s{"GetDevices"};
779 return s;
780 }
781
782 typedef NetworkManager Interface;
783 typedef std::vector<core::dbus::types::ObjectPath> ResultType;
784
785 static std::chrono::milliseconds default_timeout()
786 {
787 return std::chrono::seconds{1};
788 }
789 };
790
791 };
792
793
794 struct Property
795 {
796 struct WirelessEnabled {
797 static const std::string &name()
798 {
799 static const std::string s{"WirelessEnabled"};
800 return s;
801 }
802
803 typedef NetworkManager Interface;
804 typedef bool ValueType;
805 static const bool readable = true;
806 static const bool writable = true;
807 };
808
809 struct State {
810 static const std::string &name()
811 {
812 static const std::string s{"State"};
813 return s;
814 }
815
816 typedef NetworkManager Interface;
817 typedef std::uint32_t ValueType;
818 static const bool readable = true;
819 static const bool writable = false;
820 };
821
822 struct PrimaryConnection {
823 static const std::string &name()
824 {
825 static const std::string s{"PrimaryConnection"};
826 return s;
827 }
828
829 typedef NetworkManager Interface;
830 typedef core::dbus::types::ObjectPath ValueType;
831 static const bool readable = true;
832 static const bool writable = false;
833 };
834
835 };
836
837 struct Signal {
838
839 struct PropertiesChanged
840 {
841 static const std::string& name()
842 {
843 static const std::string s{"PropertiesChanged"};
844 return s;
845 }
846
847 typedef NetworkManager Interface;
848 typedef std::map<std::string, core::dbus::types::Variant> ArgumentType;
849 };
850
851 struct DeviceAdded
852 {
853 static const std::string& name()
854 {
855 static const std::string s{"DeviceAdded"};
856 return s;
857 }
858
859 typedef NetworkManager Interface;
860 typedef core::dbus::types::ObjectPath ArgumentType;
861 };
862
863 struct DeviceRemoved
864 {
865 static const std::string& name()
866 {
867 static const std::string s{"DeviceRemoved"};
868 return s;
869 }
870
871 typedef NetworkManager Interface;
872 typedef core::dbus::types::ObjectPath ArgumentType;
873 };
874 };
875
876 Method::ActivateConnection::ResultType
877 activate_connection(const core::dbus::types::ObjectPath &connection,
878 const core::dbus::types::ObjectPath &device,
879 const core::dbus::types::ObjectPath &specific_object)
880 {
881 auto result =
882 object->invoke_method_synchronously<
883 Method::ActivateConnection,
884 Method::ActivateConnection::ResultType>
885 (connection, device, specific_object);
886
887 if (result.is_error())
888 connectivity::throw_dbus_exception(result.error());
889
890 return result.value();
891 }
892
893 Method::AddAndActivateConnection::ResultType
894 add_and_activate_connection(std::map<std::string, std::map<std::string, core::dbus::types::Variant>> &connection,
895 const core::dbus::types::ObjectPath &device,
896 const core::dbus::types::ObjectPath &specific_object)
897 {
898 auto result =
899 object->invoke_method_synchronously<
900 Method::AddAndActivateConnection,
901 Method::AddAndActivateConnection::ResultType>
902 (connection, device, specific_object);
903
904 if (result.is_error())
905 connectivity::throw_dbus_exception(result.error());
906
907
908 /// @todo return the settings (std::get<0>) object at some point
909 return result.value();
910 }
911
912 std::vector<Device> get_devices()
913 {
914 auto result =
915 object->invoke_method_synchronously<
916 Method::GetDevices,
917 Method::GetDevices::ResultType>();
918
919 if (result.is_error())
920 connectivity::throw_dbus_exception(result.error());
921
922 std::vector<Device> devices;
923 for (const auto& path : result.value())
924 {
925 devices.emplace_back(
926 Device(
927 service,
928 service->object_for_path(path)));
929 }
930
931 return devices;
932 }
933
934 NetworkManager(std::shared_ptr<core::dbus::Service> &service,
935 std::shared_ptr<core::dbus::Object> &object)
936 : service(service),
937 object(object),
938 wireless_enabled(object->get_property<Property::WirelessEnabled>()),
939 state(object->get_property<Property::State>()),
940 properties_changed(object->get_signal<Signal::PropertiesChanged>()),
941 primary_connection(object->get_property<Property::PrimaryConnection>()),
942 device_added(object->get_signal<Signal::DeviceAdded>()),
943 device_removed(object->get_signal<Signal::DeviceRemoved>())
944 {
945 }
946
947 std::shared_ptr<core::dbus::Service> service;
948 std::shared_ptr<core::dbus::Object> object;
949
950 std::shared_ptr<core::dbus::Property<Property::WirelessEnabled>> wireless_enabled;
951 std::shared_ptr<core::dbus::Property<Property::State>> state;
952 std::shared_ptr<core::dbus::Signal<Signal::PropertiesChanged, Signal::PropertiesChanged::ArgumentType>> properties_changed;
953 std::shared_ptr<core::dbus::Property<Property::PrimaryConnection>> primary_connection;
954 std::shared_ptr<core::dbus::Signal<Signal::DeviceAdded, Signal::DeviceAdded::ArgumentType>> device_added;
955 std::shared_ptr<core::dbus::Signal<Signal::DeviceRemoved, Signal::DeviceRemoved::ArgumentType>> device_removed;
956 }; // Interface::NetworkManager
957 };
958
959 struct Service
960 {
961 std::shared_ptr<Interface::NetworkManager> nm;
962
963 Service(const core::dbus::Bus::Ptr& bus)
964 {
965 auto service = core::dbus::Service::use_service<Interface::NetworkManager>(bus);
966 auto object = service->object_for_path(core::dbus::types::ObjectPath(NM_DBUS_PATH));
967 nm = std::make_shared<Interface::NetworkManager>(service, object);
968 }
969
970 struct Mock
971 {
972 std::shared_ptr<Interface::NetworkManager> nm;
973
974 Mock(const core::dbus::Bus::Ptr& bus)
975 {
976 auto service = core::dbus::Service::add_service<Interface::NetworkManager>(bus);
977 auto object = service->add_object_for_path(core::dbus::types::ObjectPath(NM_DBUS_PATH));
978 nm = std::make_shared<Interface::NetworkManager>(service, object);
979 }
980 };
981 };
982}
983}
984}
985
986#endif // PLATFORM_MANAGER_NMOFONO_NM_H
9870
=== removed file 'dbus-cpp/services/ofono.h'
--- dbus-cpp/services/ofono.h 2014-04-14 07:39:46 +0000
+++ dbus-cpp/services/ofono.h 1970-01-01 00:00:00 +0000
@@ -1,339 +0,0 @@
1/*
2 * Copyright © 2012-2013 Canonical Ltd.
3 *
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License version 3,
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Authored by: Thomas Voß <thomas.voss@canonical.com>
17 */
18#ifndef LOCATION_SERVICE_LOCATION_CONNECTIVITY_OFONO_H
19#define LOCATION_SERVICE_LOCATION_CONNECTIVITY_OFONO_H
20
21#include <core/dbus/bus.h>
22#include <core/dbus/object.h>
23#include <core/dbus/property.h>
24#include <core/dbus/service.h>
25#include <core/dbus/types/object_path.h>
26#include <core/dbus/types/struct.h>
27#include <core/dbus/types/stl/map.h>
28#include <core/dbus/types/stl/string.h>
29#include <core/dbus/types/stl/tuple.h>
30#include <core/dbus/types/stl/vector.h>
31#include<com/ubuntu/connectivity/util.h>
32
33namespace org
34{
35struct Ofono
36{
37static const std::string& name()
38{
39 static const std::string s{"org.ofono"};
40 return s;
41}
42struct Manager
43{
44 static const std::string& name()
45 {
46 static const std::string s{"org.ofono.Manager"};
47 return s;
48 }
49
50 struct GetModems
51 {
52 static const std::string& name()
53 {
54 static const std::string s{"GetModems"};
55 return s;
56 }
57
58 typedef Manager Interface;
59 typedef std::vector<
60 core::dbus::types::Struct<
61 core::dbus::types::ObjectPath
62 >
63 > ResultType;
64
65 static std::chrono::milliseconds default_timeout()
66 {
67 return std::chrono::seconds{1};
68 }
69 };
70
71 struct ModemAdded
72 {
73 static const std::string& name()
74 {
75 static const std::string s{"ModemAdded"};
76 return s;
77 }
78
79 typedef Manager Interface;
80 typedef std::tuple<core::dbus::types::ObjectPath, std::map<std::string, std::string>> ArgumentType;
81 };
82
83 struct ModemRemoved
84 {
85 static const std::string& name()
86 {
87 static const std::string s{"ModemRemoved"};
88 return s;
89 }
90
91 typedef Manager Interface;
92 typedef core::dbus::types::ObjectPath ArgumentType;
93 };
94
95 struct Modem
96 {
97 struct NetworkRegistration
98 {
99 static const std::string& name()
100 {
101 static const std::string s{"org.ofono.NetworkRegistration"};
102 return s;
103 }
104
105 struct GetProperties
106 {
107 static const std::string& name()
108 {
109 static const std::string s{"GetProperties"};
110 return s;
111 }
112
113 typedef NetworkRegistration Interface;
114 typedef std::map<std::string, core::dbus::types::Variant<>> ValueType;
115
116 static std::chrono::milliseconds default_timeout()
117 {
118 return std::chrono::seconds{1};
119 }
120 };
121
122 struct Mode
123 {
124 static const char* unregistered() { return "unregistered"; }
125 static const char* registered() { return "registered"; }
126 static const char* searching() { return "searching"; }
127 static const char* denied() { return "denied"; }
128 static const char* unknown() { return "unknown"; }
129 static const char* roaming() { return "roaming"; }
130
131 static const std::string& name()
132 {
133 static const std::string s{"Mode"};
134 return s;
135 }
136
137 typedef NetworkRegistration Interface;
138 typedef std::string ValueType;
139 static const bool readable = true;
140 static const bool writable = false;
141 };
142
143 struct LocationAreaCode
144 {
145 static const std::string& name()
146 {
147 static const std::string s{"LocationAreaCode"};
148 return s;
149 }
150
151 typedef NetworkRegistration Interface;
152 typedef std::uint16_t ValueType;
153 static const bool readable = true;
154 static const bool writable = false;
155 };
156
157 struct CellId
158 {
159 static const std::string& name()
160 {
161 static const std::string s{"CellId"};
162 return s;
163 }
164
165 typedef NetworkRegistration Interface;
166 typedef std::uint32_t ValueType;
167 static const bool readable = true;
168 static const bool writable = false;
169 };
170
171 struct MobileCountryCode
172 {
173 static const std::string& name()
174 {
175 static const std::string s{"MobileCountryCode"};
176 return s;
177 }
178
179 typedef NetworkRegistration Interface;
180 typedef std::string ValueType;
181 static const bool readable = true;
182 static const bool writable = false;
183 };
184
185 struct MobileNetworkCode
186 {
187 static const std::string& name()
188 {
189 static const std::string s{"MobileNetworkCode"};
190 return s;
191 }
192
193 typedef NetworkRegistration Interface;
194 typedef std::string ValueType;
195 static const bool readable = true;
196 static const bool writable = false;
197 };
198
199 struct Technology
200 {
201 static const char* gsm() { return "gsm"; }
202 static const char* edge() { return "edge"; }
203 static const char* umts() { return "umts"; }
204 static const char* hspa() { return "hspa"; }
205 static const char* lte() { return "lte"; }
206
207 static const std::string& name()
208 {
209 static const std::string s{"Technology"};
210 return s;
211 }
212
213 typedef NetworkRegistration Interface;
214 typedef std::string ValueType;
215 static const bool readable = true;
216 static const bool writable = false;
217 };
218
219 struct Strength
220 {
221 static const std::string& name()
222 {
223 static const std::string s{"Strength"};
224 return s;
225 }
226
227 typedef NetworkRegistration Interface;
228 typedef std::int8_t ValueType;
229 static const bool readable = true;
230 static const bool writable = false;
231 };
232
233 NetworkRegistration(const std::shared_ptr<core::dbus::Object>& object)
234 : object(object),
235 properties{}
236 {
237 auto result = object->invoke_method_synchronously<GetProperties, GetProperties::ValueType>();
238 if (result.is_error())
239 connectivity::throw_dbus_exception(result.error());
240
241 properties = result.value();
242 }
243
244 template<typename Property>
245 typename Property::ValueType get(
246 const typename Property::ValueType& default_value = typename Property::ValueType{}) const
247 {
248 try
249 {
250 core::dbus::types::Any value = properties.at(Property::name()).get();
251 typename Property::ValueType result; value.reader() >> result;
252
253 return result;
254 } catch(...)
255 {
256 }
257
258 return default_value;
259 }
260
261 std::shared_ptr<core::dbus::Object> object;
262 GetProperties::ValueType properties;
263 };
264
265 Modem(const std::shared_ptr<core::dbus::Service>& service,
266 const std::shared_ptr<core::dbus::Object>& object)
267 : service(service),
268 object(object),
269 network_registration{object}
270 {
271 }
272
273 std::shared_ptr<core::dbus::Service> service;
274 std::shared_ptr<core::dbus::Object> object;
275 NetworkRegistration network_registration;
276 };
277
278 Manager(const core::dbus::Bus::Ptr& bus)
279 : service(core::dbus::Service::use_service<org::Ofono>(bus)),
280 object(service->object_for_path(core::dbus::types::ObjectPath("/"))),
281 modem_added(object->get_signal<ModemAdded>()),
282 modem_removed(object->get_signal<ModemRemoved>())
283 {
284 auto result = object->invoke_method_synchronously<GetModems, GetModems::ResultType>();
285
286 if (result.is_error())
287 connectivity::throw_dbus_exception(result.error());
288
289 for (const auto& element : result.value())
290 {
291 modems.insert(
292 std::make_pair(
293 element.value,
294 Modem
295 {
296 service,
297 service->object_for_path(element.value)
298 }));
299 }
300
301 modem_added->connect([this](const ModemAdded::ArgumentType& arg)
302 {
303 std::lock_guard<std::mutex> lg(guard);
304 modems.insert(
305 std::make_pair(
306 std::get<0>(arg),
307 Modem{
308 service,
309 service->object_for_path(std::get<0>(arg))
310 }));
311 });
312
313 modem_removed->connect([this](const ModemRemoved::ArgumentType& arg)
314 {
315 std::lock_guard<std::mutex> lg(guard);
316 modems.erase(arg);
317 });
318 }
319
320 void for_each_modem(const std::function<void(const Modem&)>& functor) const
321 {
322 std::lock_guard<std::mutex> lg(guard);
323 for (const auto& modem : modems)
324 {
325 functor(modem.second);
326 }
327 }
328
329 std::shared_ptr<core::dbus::Service> service;
330 std::shared_ptr<core::dbus::Object> object;
331 std::shared_ptr<core::dbus::Signal<ModemAdded, ModemAdded::ArgumentType>> modem_added;
332 std::shared_ptr<core::dbus::Signal<ModemRemoved, ModemRemoved::ArgumentType>> modem_removed;
333 mutable std::mutex guard;
334 std::map<core::dbus::types::ObjectPath, Modem> modems;
335};
336};
337}
338
339#endif // LOCATION_SERVICE_LOCATION_CONNECTIVITY_OFONO_H
3400
=== removed file 'dbus-cpp/services/urfkill.h'
--- dbus-cpp/services/urfkill.h 2014-05-30 13:18:36 +0000
+++ dbus-cpp/services/urfkill.h 1970-01-01 00:00:00 +0000
@@ -1,338 +0,0 @@
1/*
2 * Copyright © 2014 Canonical Ltd.
3 *
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License version 3,
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Authored by: Antti Kaijanmäki <antti.kaijanmaki@canonical.com>
17 */
18#ifndef PLATFORM_MANAGER_NMOFONO_URFKILL_H
19#define PLATFORM_MANAGER_NMOFONO_URFKILL_H
20
21#include <core/dbus/bus.h>
22#include <core/dbus/object.h>
23#include <core/dbus/property.h>
24#include <core/dbus/service.h>
25#include <core/dbus/types/object_path.h>
26#include <core/dbus/types/any.h>
27#include <core/dbus/types/struct.h>
28#include <core/dbus/types/stl/map.h>
29#include <core/dbus/types/stl/string.h>
30#include <core/dbus/types/stl/tuple.h>
31#include <core/dbus/types/stl/vector.h>
32#include "util.h"
33
34namespace org
35{
36namespace freedesktop
37{
38namespace URfkill
39{
40
41struct Interface
42{
43 struct Killswitch
44 {
45 static const std::string& name()
46 {
47 static const std::string s{"org.freedesktop.URfkill.Killswitch"};
48 return s;
49 }
50
51 struct Property
52 {
53 struct State
54 {
55 static const std::string& name()
56 {
57 static const std::string s{"state"};
58 return s;
59 }
60
61 typedef Killswitch Interface;
62 typedef std::int32_t ValueType;
63 static const bool readable = true;
64 static const bool writable = false;
65 };
66 };
67
68 enum class Type;
69 Killswitch(const std::shared_ptr<core::dbus::Object>& object,
70 Type type)
71 : object(object),
72 type(type),
73 _state(object->get_property<Property::State>())
74 {
75 _state->changed().connect(std::bind(&Killswitch::_stateChanged, this, std::placeholders::_1));
76 _stateChanged(_state->get());
77 }
78
79 enum class State
80 {
81 not_available = -1,
82 unblocked = 0,
83 soft_blocked = 1,
84 hard_blocked = 2
85 };
86
87 enum class Type {
88 bluetooth,
89 fm,
90 gps,
91 nfc,
92 uwb,
93 wimax,
94 wlan,
95 wwan
96 };
97
98 static const std::string path(Type type)
99 {
100 switch(type) {
101 case Type::bluetooth:
102 return "/org/freedesktop/URfkill/BLUETOOTH";
103 case Type::fm:
104 return "/org/freedesktop/URfkill/FM";
105 case Type::gps:
106 return "/org/freedesktop/URfkill/GPS";
107 case Type::nfc:
108 return "/org/freedesktop/URfkill/NFC";
109 case Type::uwb:
110 return "/org/freedesktop/URfkill/UWB";
111 case Type::wimax:
112 return "/org/freedesktop/URfkill/WIMAX";
113 case Type::wlan:
114 return "/org/freedesktop/URfkill/WLAN";
115 case Type::wwan:
116 return "/org/freedesktop/URfkill/WWAN";
117 }
118
119 return "";
120 }
121
122 void _stateChanged(Property::State::ValueType val)
123 {
124 if (val == -1)
125 state.set(State::not_available);
126 else if (val == 0)
127 state.set(State::unblocked);
128 else if (val == 1)
129 state.set(State::soft_blocked);
130 else if (val == 2)
131 state.set(State::hard_blocked);
132 else
133 throw std::runtime_error("got unknown Killswitch state from urfkill: " + std::to_string(val));
134 }
135
136 std::shared_ptr<core::dbus::Object> object;
137 const Type type;
138 std::shared_ptr<core::dbus::Property<Property::State>> _state;
139 core::Property<State> state;
140 };
141
142 struct URfkill
143 {
144 static const std::string& name()
145 {
146 static const std::string s{"org.freedesktop.URfkill"};
147 return s;
148 }
149
150 struct Method
151 {
152 struct Block
153 {
154 static const std::string& name()
155 {
156 static const std::string s{"Block"};
157 return s;
158 }
159
160 typedef URfkill Interface;
161 typedef bool ResultType;
162
163 static std::chrono::milliseconds default_timeout()
164 {
165 return std::chrono::seconds{5};
166 }
167 };
168
169 struct FlightMode
170 {
171 static const std::string& name()
172 {
173 static const std::string s{"FlightMode"};
174 return s;
175 }
176
177 typedef URfkill Interface;
178 typedef bool ResultType;
179
180 static std::chrono::milliseconds default_timeout()
181 {
182 return std::chrono::seconds{5};
183 }
184 };
185
186 struct IsFlightMode
187 {
188 static const std::string& name()
189 {
190 static const std::string s{"IsFlightMode"};
191 return s;
192 }
193
194 typedef URfkill Interface;
195 typedef bool ResultType;
196
197 static std::chrono::milliseconds default_timeout()
198 {
199 return std::chrono::seconds{1};
200 }
201 };
202 };
203
204 struct Signal
205 {
206 struct FlightModeChanged
207 {
208 static const std::string& name()
209 {
210 static const std::string s{"FlightModeChanged"};
211 return s;
212 }
213
214 typedef URfkill Interface;
215 typedef bool ArgumentType;
216 };
217 };
218
219 URfkill(std::shared_ptr<core::dbus::Service> &service,
220 std::shared_ptr<core::dbus::Object> &object)
221 : service{service},
222 object{object},
223 flightModeChanged{object->get_signal<Signal::FlightModeChanged>()}
224 {
225 switches[Killswitch::Type::bluetooth] = std::make_shared<Killswitch>(service->object_for_path(Killswitch::path(Killswitch::Type::bluetooth)), Killswitch::Type::bluetooth);
226 switches[Killswitch::Type::fm] = std::make_shared<Killswitch>(service->object_for_path(Killswitch::path(Killswitch::Type::fm)), Killswitch::Type::fm);
227 switches[Killswitch::Type::gps] = std::make_shared<Killswitch>(service->object_for_path(Killswitch::path(Killswitch::Type::gps)), Killswitch::Type::gps);
228 switches[Killswitch::Type::nfc] = std::make_shared<Killswitch>(service->object_for_path(Killswitch::path(Killswitch::Type::nfc)), Killswitch::Type::nfc);
229 switches[Killswitch::Type::uwb] = std::make_shared<Killswitch>(service->object_for_path(Killswitch::path(Killswitch::Type::uwb)), Killswitch::Type::uwb);
230 switches[Killswitch::Type::wimax] = std::make_shared<Killswitch>(service->object_for_path(Killswitch::path(Killswitch::Type::wimax)), Killswitch::Type::wimax);
231 switches[Killswitch::Type::wlan] = std::make_shared<Killswitch>(service->object_for_path(Killswitch::path(Killswitch::Type::wlan)), Killswitch::Type::wlan);
232 switches[Killswitch::Type::wwan] = std::make_shared<Killswitch>(service->object_for_path(Killswitch::path(Killswitch::Type::wwan)), Killswitch::Type::wwan);
233 }
234
235 bool block(Killswitch::Type type, bool block)
236 {
237 std::uint32_t utype;
238 switch (type) {
239 case Killswitch::Type::bluetooth:
240 utype = 2;
241 break;
242 case Killswitch::Type::fm:
243 utype = 7;
244 break;
245 case Killswitch::Type::gps:
246 utype = 6;
247 break;
248 case Killswitch::Type::nfc:
249 utype = 8; /// @todo verify me
250 break;
251 case Killswitch::Type::uwb:
252 utype = 3;
253 break;
254 case Killswitch::Type::wimax:
255 utype = 4;
256 break;
257 case Killswitch::Type::wlan:
258 utype = 1;
259 break;
260 case Killswitch::Type::wwan:
261 utype = 5;
262 break;
263 }
264 // we can't handle "all" (0) with this, but that's deprecated by FlightMode anyway
265
266 auto result =
267 object->invoke_method_synchronously<
268 Method::Block, Method::Block::ResultType>
269 (utype, block);
270
271 if (result.is_error())
272 throw std::runtime_error(result.error().print());
273
274 return result.value();
275 }
276
277 bool flightMode(bool block)
278 {
279 auto result =
280 object->invoke_method_synchronously<
281 Method::FlightMode, Method::FlightMode::ResultType>
282 (block);
283
284 if (result.is_error())
285 throw std::runtime_error(result.error().print());
286
287 return result.value();
288 }
289
290 bool isFlightMode()
291 {
292 auto result =
293 object->invoke_method_synchronously<
294 Method::IsFlightMode, Method::IsFlightMode::ResultType>
295 ();
296
297 if (result.is_error())
298 throw std::runtime_error(result.error().print());
299
300 return result.value();
301 }
302
303 std::shared_ptr<core::dbus::Service> service;
304 std::shared_ptr<core::dbus::Object> object;
305 std::shared_ptr<core::dbus::Signal<Signal::FlightModeChanged, Signal::FlightModeChanged::ArgumentType>> flightModeChanged;
306
307 std::map<Killswitch::Type, std::shared_ptr<Killswitch>> switches;
308 };
309};
310
311struct Service
312{
313 std::shared_ptr<Interface::URfkill> urfkill;
314
315 Service(const core::dbus::Bus::Ptr& bus)
316 {
317 auto service = core::dbus::Service::use_service<Interface::URfkill>(bus);
318 auto object = service->object_for_path(core::dbus::types::ObjectPath("/org/freedesktop/URfkill"));
319 urfkill = std::make_shared<Interface::URfkill>(service, object);
320 }
321
322 struct Mock
323 {
324 std::shared_ptr<Interface::URfkill> urfkill;
325
326 Mock(const core::dbus::Bus::Ptr& bus)
327 {
328 auto service = core::dbus::Service::add_service<Interface::URfkill>(bus);
329 auto object = service->add_object_for_path(core::dbus::types::ObjectPath("/org/freedesktop/URfkill"));
330 urfkill = std::make_shared<Interface::URfkill>(service, object);
331 }
332 };
333};
334}
335}
336}
337
338#endif // PLATFORM_MANAGER_NMOFONO_URFKILL_H
3390
=== removed file 'dbus-cpp/services/util.h'
--- dbus-cpp/services/util.h 2014-04-23 13:27:07 +0000
+++ dbus-cpp/services/util.h 1970-01-01 00:00:00 +0000
@@ -1,36 +0,0 @@
1/*
2 * Copyright © 2013 Canonical Ltd.
3 *
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License version 3,
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Authors:
17 * Jussi Pakkanen <jussi.pakkanen@canonical.com>
18 */
19
20#ifndef CONNECTIVITY_UTIL_H
21#define CONNECTIVITY_UTIL_H
22
23namespace core {
24namespace dbus {
25class Error;
26}
27}
28
29namespace connectivity {
30
31void throw_dbus_exception(const core::dbus::Error &e);
32
33}
34
35
36#endif
370
=== added file 'debian/connectivity-doc.install'
--- debian/connectivity-doc.install 1970-01-01 00:00:00 +0000
+++ debian/connectivity-doc.install 2014-08-21 18:21:03 +0000
@@ -0,0 +1,1 @@
1usr/share/doc/connectivity-api/*
02
=== modified file 'debian/control'
--- debian/control 2014-07-22 19:54:24 +0000
+++ debian/control 2014-08-21 18:21:03 +0000
@@ -3,7 +3,7 @@
3Section: libs3Section: libs
4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5Build-Depends: cmake,5Build-Depends: cmake,
6 dbus,6 dbus-test-runner,
7 debhelper (>= 9),7 debhelper (>= 9),
8 doxygen,8 doxygen,
9 google-mock,9 google-mock,
@@ -13,44 +13,63 @@
13# version.13# version.
14 g++-4.9,14 g++-4.9,
15 lcov,15 lcov,
16 libdbus-1-dev,
17 libdbus-cpp-dev (>= 4.0.0),
18 libgtest-dev,16 libgtest-dev,
19 libprocess-cpp-dev,
20 libproperties-cpp-dev,
21 network-manager-dev,
22 pkg-config,17 pkg-config,
18 qt5-default,
19 qtbase5-dev,
20 qtbase5-dev-tools,
21 qtdeclarative5-dev,
22 qtdeclarative5-dev-tools,
23 qml-module-qtquick2,
24 qml-module-qttest,
23Standards-Version: 3.9.525Standards-Version: 3.9.5
24Homepage: https://launchpad.net/connectivity-api26Homepage: https://launchpad.net/connectivity-api
25Vcs-Bzr: lp:connectivity-api27Vcs-Bzr: lp:connectivity-api
26Vcs-Browser: https://bazaar.launchpad.net/~unity-api-team/connectivity-api/trunk.14.04/files28Vcs-Browser: https://bazaar.launchpad.net/~unity-api-team/connectivity-api/trunk.14.04/files
2729
28Package: libconnectivity-cpp030Package: libconnectivity-qt1
29Architecture: any31Architecture: any
32Pre-Depends: ${misc:Pre-Depends}
30Multi-Arch: same33Multi-Arch: same
31Pre-Depends: ${misc:Pre-Depends}34Depends: ${misc:Depends},
32Depends: ${shlibs:Depends},35 ${shlibs:Depends},
33 ${misc:Depends},36 indicator-network (>= 0.5.1+14.10.20140819),
34 network-manager,37Description: Ubuntu Connectivity Qt API
35# urfkill,38 Ubuntu Connectivity API - Qt bindings
36Description: C++11 library providing connectivity API.
37 Connectivity API provides information on system networking.
3839
39Package: libconnectivity-cpp-dev40Package: libconnectivity-qt1-dev
40Section: libdevel41Section: libdevel
41Architecture: any42Architecture: any
42Multi-Arch: same43Pre-Depends: ${misc:Pre-Depends}
43Depends: ${misc:Depends},44Multi-Arch: same
44 libconnectivity-cpp0 (= ${binary:Version}),45Depends: ${misc:Depends},
45 libdbus-cpp-dev,46 ${shlibs:Depends},
46 libproperties-cpp-dev,47 libconnectivity-qt1 (= ${binary:Version}),
47Suggests: libconnectivity-cpp-doc48 qtbase5-dev
48Description: C++11 library providing connectivity API. - dev headers49Suggests: connectivity-doc,
49 All the development headers and libraries for libconnectivity-cpp.50Description: Ubuntu Connectivity Qt API - development files
5051 Ubuntu Connectivity API - Qt bindings
51Package: libconnectivity-cpp-doc52 .
53 This package contains development files to develop against the Qt library.
54
55Package: qml-module-ubuntu-connectivity
56Architecture: any
57Pre-Depends: ${misc:Pre-Depends}
58Multi-Arch: same
59Depends: ${misc:Depends},
60 ${shlibs:Depends},
61 libconnectivity-qt1 (= ${binary:Version}),
62Description: Ubuntu Connectivity API QML Components
63 Ubuntu Connectivity API - QML bindings
64 .
65 This package contains the qtdeclarative bindings for Ubuntu connectivity API.
66
67Package: connectivity-doc
52Section: doc68Section: doc
53Architecture: all69Architecture: all
54Depends: ${misc:Depends},70Depends: ${misc:Depends},
55Description: Documentation files for libconnectivity-cpp-dev71 ${shlibs:Depends},
56 Documentation files for the libconnectivity-cpp development.72Description: Unity Action API - documentation
73 Ubuntu Connectivity API
74 .
75 This package contains developer documentation.
5776
=== removed file 'debian/libconnectivity-cpp-dev.install'
--- debian/libconnectivity-cpp-dev.install 2014-01-23 22:09:36 +0000
+++ debian/libconnectivity-cpp-dev.install 1970-01-01 00:00:00 +0000
@@ -1,3 +0,0 @@
1usr/include/*
2usr/lib/*/*.so
3usr/lib/pkgconfig/*
4\ No newline at end of file0\ No newline at end of file
51
=== removed file 'debian/libconnectivity-cpp-doc.install'
--- debian/libconnectivity-cpp-doc.install 2014-01-23 22:09:36 +0000
+++ debian/libconnectivity-cpp-doc.install 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
1usr/share/doc/connectivity-cpp/
2\ No newline at end of file0\ No newline at end of file
31
=== removed file 'debian/libconnectivity-cpp0.install'
--- debian/libconnectivity-cpp0.install 2014-03-11 21:08:34 +0000
+++ debian/libconnectivity-cpp0.install 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
1usr/lib/*/*.so.*
20
=== added file 'debian/libconnectivity-qt1-dev.install'
--- debian/libconnectivity-qt1-dev.install 1970-01-01 00:00:00 +0000
+++ debian/libconnectivity-qt1-dev.install 2014-08-21 18:21:03 +0000
@@ -0,0 +1,3 @@
1usr/lib/*/libconnectivity-qt1.so
2usr/include/*
3usr/lib/*/pkgconfig/*
04
=== added file 'debian/libconnectivity-qt1.install'
--- debian/libconnectivity-qt1.install 1970-01-01 00:00:00 +0000
+++ debian/libconnectivity-qt1.install 2014-08-21 18:21:03 +0000
@@ -0,0 +1,1 @@
1usr/lib/*/libconnectivity-qt1.so.*
02
=== added file 'debian/qml-module-ubuntu-connectivity.install'
--- debian/qml-module-ubuntu-connectivity.install 1970-01-01 00:00:00 +0000
+++ debian/qml-module-ubuntu-connectivity.install 2014-08-21 18:21:03 +0000
@@ -0,0 +1,1 @@
1usr/lib/*/qt5/qml
02
=== added directory 'doc'
=== removed directory 'doc'
=== added file 'doc/CMakeLists.txt'
--- doc/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ doc/CMakeLists.txt 2014-08-21 18:21:03 +0000
@@ -0,0 +1,27 @@
1set(INSTALL_DOCDIR ${CMAKE_INSTALL_DATAROOTDIR}/doc/connectivity-api)
2
3if(build_type_lower MATCHES debug)
4 option(BUILD_DOC "Build documentation by default" FALSE)
5else()
6 option(BUILD_DOC "Build documentation by default" TRUE)
7endif()
8option(PRIVATE_DOCS "Build private documentation" FALSE)
9
10if(${BUILD_DOC})
11 set(IS_ALL ALL)
12endif()
13
14add_subdirectory(qt)
15set(DBUS_FILES
16 dbus/connectivity-api.txt
17)
18
19add_custom_target(doc ${IS_ALL}
20 SOURCES ${DBUS_FILES}
21)
22add_dependencies(doc cppdoc qmldoc)
23
24install(
25 DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dbus/
26 DESTINATION ${INSTALL_DOCDIR}/dbus/
27)
028
=== removed file 'doc/CMakeLists.txt'
--- doc/CMakeLists.txt 2014-03-13 15:33:18 +0000
+++ doc/CMakeLists.txt 1970-01-01 00:00:00 +0000
@@ -1,65 +0,0 @@
1# Copyright © 2013 Canonical Ltd.
2#
3# This program is free software: you can redistribute it and/or modify it
4# under the terms of the GNU Lesser General Public License version 3,
5# as published by the Free Software Foundation.
6#
7# This program is distributed in the hope that it will be useful,
8# but WITHOUT ANY WARRANTY; without even the implied warranty of
9# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10# GNU Lesser General Public License for more details.
11#
12# You should have received a copy of the GNU Lesser General Public License
13# along with this program. If not, see <http://www.gnu.org/licenses/>.
14#
15# Authors:
16# Antti Kaijanmäki <antti.kaijanmaki@canonical.com>
17
18string(TOLOWER "${CMAKE_BUILD_TYPE}" typelower)
19set(EXTRACT_PRIVATE NO)
20set(INTERNAL_DOCS NO)
21set(SOURCE_DIRS "${CMAKE_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}")
22
23if("${typelower}" STREQUAL "debug")
24 option(BUILD_DOC "Build documentation by default" FALSE)
25else()
26 option(BUILD_DOC "Build documentation by default" TRUE)
27endif()
28
29option(PRIVATE_DOCS "Build private documentation" FALSE)
30
31find_package(Doxygen)
32
33if(${BUILD_DOC})
34 set(IS_ALL ALL)
35endif()
36if(${PRIVATE_DOCS})
37 set(EXTRACT_PRIVATE YES)
38 set(INTERNAL_DOCS YES)
39 set(SOURCE_DIRS "${SOURCE_DIRS} ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/dbus")
40endif()
41
42if (DOXYGEN_FOUND)
43 configure_file(
44 ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
45 ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
46 add_custom_target(doc ${IS_ALL}
47 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
48 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
49 COMMENT "Generating API documentation with Doxygen" VERBATIM)
50 install(
51 DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
52 DESTINATION ${CMAKE_INSTALL_DOCDIR})
53 install(
54 DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/xml
55 DESTINATION ${CMAKE_INSTALL_DOCDIR})
56
57endif (DOXYGEN_FOUND)
58
59# list these here to have them visible in Qt Creator
60set(DOC_PAGES
61 pages/mainpage.dox
62 pages/using.dox
63 pages/networking-status.dox
64)
65add_custom_target(QtCreatorDocsHack SOURCES ${DOC_PAGES})
660
=== removed file 'doc/Doxyfile.in'
--- doc/Doxyfile.in 2014-03-13 15:33:18 +0000
+++ doc/Doxyfile.in 1970-01-01 00:00:00 +0000
@@ -1,1869 +0,0 @@
1# Doxyfile 1.8.3.1
2
3# This file describes the settings to be used by the documentation system
4# doxygen (www.doxygen.org) for a project.
5#
6# All text after a hash (#) is considered a comment and will be ignored.
7# The format is:
8# TAG = value [value, ...]
9# For lists items can also be appended using:
10# TAG += value [value, ...]
11# Values that contain spaces should be placed between quotes (" ").
12
13#---------------------------------------------------------------------------
14# Project related configuration options
15#---------------------------------------------------------------------------
16
17# This tag specifies the encoding used for all characters in the config file
18# that follow. The default is UTF-8 which is also the encoding used for all
19# text before the first occurrence of this tag. Doxygen uses libiconv (or the
20# iconv built into libc) for the transcoding. See
21# http://www.gnu.org/software/libiconv for the list of possible encodings.
22
23DOXYFILE_ENCODING = UTF-8
24
25# The PROJECT_NAME tag is a single word (or sequence of words) that should
26# identify the project. Note that if you do not use Doxywizard you need
27# to put quotes around the project name if it contains spaces.
28
29PROJECT_NAME = @CMAKE_PROJECT_NAME@
30
31# The PROJECT_NUMBER tag can be used to enter a project or revision number.
32# This could be handy for archiving the generated documentation or
33# if some version control system is used.
34
35PROJECT_NUMBER = @CONNECTIVITY_CPP_VERSION_MAJOR@.@CONNECTIVITY_CPP_VERSION_MINOR@.@CONNECTIVITY_CPP_VERSION_PATCH@
36
37# Using the PROJECT_BRIEF tag one can provide an optional one line description
38# for a project that appears at the top of each page and should give viewer
39# a quick idea about the purpose of the project. Keep the description short.
40
41PROJECT_BRIEF =
42
43# With the PROJECT_LOGO tag one can specify an logo or icon that is
44# included in the documentation. The maximum height of the logo should not
45# exceed 55 pixels and the maximum width should not exceed 200 pixels.
46# Doxygen will copy the logo to the output directory.
47
48PROJECT_LOGO =
49
50# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
51# base path where the generated documentation will be put.
52# If a relative path is entered, it will be relative to the location
53# where doxygen was started. If left blank the current directory will be used.
54
55OUTPUT_DIRECTORY =
56
57# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
58# 4096 sub-directories (in 2 levels) under the output directory of each output
59# format and will distribute the generated files over these directories.
60# Enabling this option can be useful when feeding doxygen a huge amount of
61# source files, where putting all generated files in the same directory would
62# otherwise cause performance problems for the file system.
63
64CREATE_SUBDIRS = NO
65
66# The OUTPUT_LANGUAGE tag is used to specify the language in which all
67# documentation generated by doxygen is written. Doxygen will use this
68# information to generate all constant output in the proper language.
69# The default language is English, other supported languages are:
70# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
71# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
72# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
73# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
74# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak,
75# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
76
77OUTPUT_LANGUAGE = English
78
79# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
80# include brief member descriptions after the members that are listed in
81# the file and class documentation (similar to JavaDoc).
82# Set to NO to disable this.
83
84BRIEF_MEMBER_DESC = YES
85
86# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
87# the brief description of a member or function before the detailed description.
88# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
89# brief descriptions will be completely suppressed.
90
91REPEAT_BRIEF = YES
92
93# This tag implements a quasi-intelligent brief description abbreviator
94# that is used to form the text in various listings. Each string
95# in this list, if found as the leading text of the brief description, will be
96# stripped from the text and the result after processing the whole list, is
97# used as the annotated text. Otherwise, the brief description is used as-is.
98# If left blank, the following values are used ("$name" is automatically
99# replaced with the name of the entity): "The $name class" "The $name widget"
100# "The $name file" "is" "provides" "specifies" "contains"
101# "represents" "a" "an" "the"
102
103ABBREVIATE_BRIEF =
104
105# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
106# Doxygen will generate a detailed section even if there is only a brief
107# description.
108
109ALWAYS_DETAILED_SEC = NO
110
111# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
112# inherited members of a class in the documentation of that class as if those
113# members were ordinary class members. Constructors, destructors and assignment
114# operators of the base classes will not be shown.
115
116INLINE_INHERITED_MEMB = NO
117
118# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
119# path before files name in the file list and in the header files. If set
120# to NO the shortest path that makes the file name unique will be used.
121
122FULL_PATH_NAMES = No
123
124# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
125# can be used to strip a user-defined part of the path. Stripping is
126# only done if one of the specified strings matches the left-hand part of
127# the path. The tag can be used to show relative paths in the file list.
128# If left blank the directory from which doxygen is run is used as the
129# path to strip. Note that you specify absolute paths here, but also
130# relative paths, which will be relative from the directory where doxygen is
131# started.
132
133STRIP_FROM_PATH =
134
135# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
136# the path mentioned in the documentation of a class, which tells
137# the reader which header file to include in order to use a class.
138# If left blank only the name of the header file containing the class
139# definition is used. Otherwise one should specify the include paths that
140# are normally passed to the compiler using the -I flag.
141
142STRIP_FROM_INC_PATH = @CMAKE_SOURCE_DIR@/include
143
144# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
145# (but less readable) file names. This can be useful if your file system
146# doesn't support long names like on DOS, Mac, or CD-ROM.
147
148SHORT_NAMES = NO
149
150# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
151# will interpret the first line (until the first dot) of a JavaDoc-style
152# comment as the brief description. If set to NO, the JavaDoc
153# comments will behave just like regular Qt-style comments
154# (thus requiring an explicit @brief command for a brief description.)
155
156JAVADOC_AUTOBRIEF = NO
157
158# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
159# interpret the first line (until the first dot) of a Qt-style
160# comment as the brief description. If set to NO, the comments
161# will behave just like regular Qt-style comments (thus requiring
162# an explicit \brief command for a brief description.)
163
164QT_AUTOBRIEF = NO
165
166# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
167# treat a multi-line C++ special comment block (i.e. a block of //! or ///
168# comments) as a brief description. This used to be the default behaviour.
169# The new default is to treat a multi-line C++ comment block as a detailed
170# description. Set this tag to YES if you prefer the old behaviour instead.
171
172MULTILINE_CPP_IS_BRIEF = NO
173
174# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
175# member inherits the documentation from any documented member that it
176# re-implements.
177
178INHERIT_DOCS = YES
179
180# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
181# a new page for each member. If set to NO, the documentation of a member will
182# be part of the file/class/namespace that contains it.
183
184SEPARATE_MEMBER_PAGES = NO
185
186# The TAB_SIZE tag can be used to set the number of spaces in a tab.
187# Doxygen uses this value to replace tabs by spaces in code fragments.
188
189TAB_SIZE = 4
190
191# This tag can be used to specify a number of aliases that acts
192# as commands in the documentation. An alias has the form "name=value".
193# For example adding "sideeffect=\par Side Effects:\n" will allow you to
194# put the command \sideeffect (or @sideeffect) in the documentation, which
195# will result in a user-defined paragraph with heading "Side Effects:".
196# You can put \n's in the value part of an alias to insert newlines.
197
198ALIASES =
199
200# This tag can be used to specify a number of word-keyword mappings (TCL only).
201# A mapping has the form "name=value". For example adding
202# "class=itcl::class" will allow you to use the command class in the
203# itcl::class meaning.
204
205TCL_SUBST =
206
207# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
208# sources only. Doxygen will then generate output that is more tailored for C.
209# For instance, some of the names that are used will be different. The list
210# of all members will be omitted, etc.
211
212OPTIMIZE_OUTPUT_FOR_C = NO
213
214# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
215# sources only. Doxygen will then generate output that is more tailored for
216# Java. For instance, namespaces will be presented as packages, qualified
217# scopes will look different, etc.
218
219OPTIMIZE_OUTPUT_JAVA = NO
220
221# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
222# sources only. Doxygen will then generate output that is more tailored for
223# Fortran.
224
225OPTIMIZE_FOR_FORTRAN = NO
226
227# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
228# sources. Doxygen will then generate output that is tailored for
229# VHDL.
230
231OPTIMIZE_OUTPUT_VHDL = NO
232
233# Doxygen selects the parser to use depending on the extension of the files it
234# parses. With this tag you can assign which parser to use for a given
235# extension. Doxygen has a built-in mapping, but you can override or extend it
236# using this tag. The format is ext=language, where ext is a file extension,
237# and language is one of the parsers supported by doxygen: IDL, Java,
238# Javascript, CSharp, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL, C,
239# C++. For instance to make doxygen treat .inc files as Fortran files (default
240# is PHP), and .f files as C (default is Fortran), use: inc=Fortran f=C. Note
241# that for custom extensions you also need to set FILE_PATTERNS otherwise the
242# files are not read by doxygen.
243
244EXTENSION_MAPPING =
245
246# If MARKDOWN_SUPPORT is enabled (the default) then doxygen pre-processes all
247# comments according to the Markdown format, which allows for more readable
248# documentation. See http://daringfireball.net/projects/markdown/ for details.
249# The output of markdown processing is further processed by doxygen, so you
250# can mix doxygen, HTML, and XML commands with Markdown formatting.
251# Disable only in case of backward compatibilities issues.
252
253MARKDOWN_SUPPORT = YES
254
255# When enabled doxygen tries to link words that correspond to documented classes,
256# or namespaces to their corresponding documentation. Such a link can be
257# prevented in individual cases by by putting a % sign in front of the word or
258# globally by setting AUTOLINK_SUPPORT to NO.
259
260AUTOLINK_SUPPORT = YES
261
262# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
263# to include (a tag file for) the STL sources as input, then you should
264# set this tag to YES in order to let doxygen match functions declarations and
265# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
266# func(std::string) {}). This also makes the inheritance and collaboration
267# diagrams that involve STL classes more complete and accurate.
268
269BUILTIN_STL_SUPPORT = YES
270
271# If you use Microsoft's C++/CLI language, you should set this option to YES to
272# enable parsing support.
273
274CPP_CLI_SUPPORT = NO
275
276# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
277# Doxygen will parse them like normal C++ but will assume all classes use public
278# instead of private inheritance when no explicit protection keyword is present.
279
280SIP_SUPPORT = NO
281
282# For Microsoft's IDL there are propget and propput attributes to indicate
283# getter and setter methods for a property. Setting this option to YES (the
284# default) will make doxygen replace the get and set methods by a property in
285# the documentation. This will only work if the methods are indeed getting or
286# setting a simple type. If this is not the case, or you want to show the
287# methods anyway, you should set this option to NO.
288
289IDL_PROPERTY_SUPPORT = YES
290
291# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
292# tag is set to YES, then doxygen will reuse the documentation of the first
293# member in the group (if any) for the other members of the group. By default
294# all members of a group must be documented explicitly.
295
296DISTRIBUTE_GROUP_DOC = NO
297
298# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
299# the same type (for instance a group of public functions) to be put as a
300# subgroup of that type (e.g. under the Public Functions section). Set it to
301# NO to prevent subgrouping. Alternatively, this can be done per class using
302# the \nosubgrouping command.
303
304SUBGROUPING = YES
305
306# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and
307# unions are shown inside the group in which they are included (e.g. using
308# @ingroup) instead of on a separate page (for HTML and Man pages) or
309# section (for LaTeX and RTF).
310
311INLINE_GROUPED_CLASSES = NO
312
313# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and
314# unions with only public data fields will be shown inline in the documentation
315# of the scope in which they are defined (i.e. file, namespace, or group
316# documentation), provided this scope is documented. If set to NO (the default),
317# structs, classes, and unions are shown on a separate page (for HTML and Man
318# pages) or section (for LaTeX and RTF).
319
320INLINE_SIMPLE_STRUCTS = NO
321
322# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
323# is documented as struct, union, or enum with the name of the typedef. So
324# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
325# with name TypeT. When disabled the typedef will appear as a member of a file,
326# namespace, or class. And the struct will be named TypeS. This can typically
327# be useful for C code in case the coding convention dictates that all compound
328# types are typedef'ed and only the typedef is referenced, never the tag name.
329
330TYPEDEF_HIDES_STRUCT = NO
331
332# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
333# determine which symbols to keep in memory and which to flush to disk.
334# When the cache is full, less often used symbols will be written to disk.
335# For small to medium size projects (<1000 input files) the default value is
336# probably good enough. For larger projects a too small cache size can cause
337# doxygen to be busy swapping symbols to and from disk most of the time
338# causing a significant performance penalty.
339# If the system has enough physical memory increasing the cache will improve the
340# performance by keeping more symbols in memory. Note that the value works on
341# a logarithmic scale so increasing the size by one will roughly double the
342# memory usage. The cache size is given by this formula:
343# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
344# corresponding to a cache size of 2^16 = 65536 symbols.
345
346SYMBOL_CACHE_SIZE = 0
347
348# Similar to the SYMBOL_CACHE_SIZE the size of the symbol lookup cache can be
349# set using LOOKUP_CACHE_SIZE. This cache is used to resolve symbols given
350# their name and scope. Since this can be an expensive process and often the
351# same symbol appear multiple times in the code, doxygen keeps a cache of
352# pre-resolved symbols. If the cache is too small doxygen will become slower.
353# If the cache is too large, memory is wasted. The cache size is given by this
354# formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range is 0..9, the default is 0,
355# corresponding to a cache size of 2^16 = 65536 symbols.
356
357LOOKUP_CACHE_SIZE = 0
358
359#---------------------------------------------------------------------------
360# Build related configuration options
361#---------------------------------------------------------------------------
362
363# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
364# documentation are documented, even if no documentation was available.
365# Private class members and static file members will be hidden unless
366# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
367
368EXTRACT_ALL = YES
369
370# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
371# will be included in the documentation.
372
373EXTRACT_PRIVATE = @EXTRACT_PRIVATE@
374
375# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal
376# scope will be included in the documentation.
377
378EXTRACT_PACKAGE = NO
379
380# If the EXTRACT_STATIC tag is set to YES all static members of a file
381# will be included in the documentation.
382
383EXTRACT_STATIC = YES
384
385# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
386# defined locally in source files will be included in the documentation.
387# If set to NO only classes defined in header files are included.
388
389EXTRACT_LOCAL_CLASSES = YES
390
391# This flag is only useful for Objective-C code. When set to YES local
392# methods, which are defined in the implementation section but not in
393# the interface are included in the documentation.
394# If set to NO (the default) only methods in the interface are included.
395
396EXTRACT_LOCAL_METHODS = NO
397
398# If this flag is set to YES, the members of anonymous namespaces will be
399# extracted and appear in the documentation as a namespace called
400# 'anonymous_namespace{file}', where file will be replaced with the base
401# name of the file that contains the anonymous namespace. By default
402# anonymous namespaces are hidden.
403
404EXTRACT_ANON_NSPACES = NO
405
406# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
407# undocumented members of documented classes, files or namespaces.
408# If set to NO (the default) these members will be included in the
409# various overviews, but no documentation section is generated.
410# This option has no effect if EXTRACT_ALL is enabled.
411
412HIDE_UNDOC_MEMBERS = NO
413
414# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
415# undocumented classes that are normally visible in the class hierarchy.
416# If set to NO (the default) these classes will be included in the various
417# overviews. This option has no effect if EXTRACT_ALL is enabled.
418
419HIDE_UNDOC_CLASSES = NO
420
421# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
422# friend (class|struct|union) declarations.
423# If set to NO (the default) these declarations will be included in the
424# documentation.
425
426HIDE_FRIEND_COMPOUNDS = YES
427
428# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
429# documentation blocks found inside the body of a function.
430# If set to NO (the default) these blocks will be appended to the
431# function's detailed documentation block.
432
433HIDE_IN_BODY_DOCS = NO
434
435# The INTERNAL_DOCS tag determines if documentation
436# that is typed after a \internal command is included. If the tag is set
437# to NO (the default) then the documentation will be excluded.
438# Set it to YES to include the internal documentation.
439
440INTERNAL_DOCS = @INTERNAL_DOCS@
441
442# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
443# file names in lower-case letters. If set to YES upper-case letters are also
444# allowed. This is useful if you have classes or files whose names only differ
445# in case and if your file system supports case sensitive file names. Windows
446# and Mac users are advised to set this option to NO.
447
448CASE_SENSE_NAMES = YES
449
450# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
451# will show members with their full class and namespace scopes in the
452# documentation. If set to YES the scope will be hidden.
453
454HIDE_SCOPE_NAMES = NO
455
456# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
457# will put a list of the files that are included by a file in the documentation
458# of that file.
459
460SHOW_INCLUDE_FILES = YES
461
462# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen
463# will list include files with double quotes in the documentation
464# rather than with sharp brackets.
465
466FORCE_LOCAL_INCLUDES = NO
467
468# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
469# is inserted in the documentation for inline members.
470
471INLINE_INFO = YES
472
473# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
474# will sort the (detailed) documentation of file and class members
475# alphabetically by member name. If set to NO the members will appear in
476# declaration order.
477
478SORT_MEMBER_DOCS = YES
479
480# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
481# brief documentation of file, namespace and class members alphabetically
482# by member name. If set to NO (the default) the members will appear in
483# declaration order.
484
485SORT_BRIEF_DOCS = NO
486
487# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen
488# will sort the (brief and detailed) documentation of class members so that
489# constructors and destructors are listed first. If set to NO (the default)
490# the constructors will appear in the respective orders defined by
491# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS.
492# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO
493# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
494
495SORT_MEMBERS_CTORS_1ST = NO
496
497# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
498# hierarchy of group names into alphabetical order. If set to NO (the default)
499# the group names will appear in their defined order.
500
501SORT_GROUP_NAMES = NO
502
503# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
504# sorted by fully-qualified names, including namespaces. If set to
505# NO (the default), the class list will be sorted only by class name,
506# not including the namespace part.
507# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
508# Note: This option applies only to the class list, not to the
509# alphabetical list.
510
511SORT_BY_SCOPE_NAME = NO
512
513# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to
514# do proper type resolution of all parameters of a function it will reject a
515# match between the prototype and the implementation of a member function even
516# if there is only one candidate or it is obvious which candidate to choose
517# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen
518# will still accept a match between prototype and implementation in such cases.
519
520STRICT_PROTO_MATCHING = NO
521
522# The GENERATE_TODOLIST tag can be used to enable (YES) or
523# disable (NO) the todo list. This list is created by putting \todo
524# commands in the documentation.
525
526GENERATE_TODOLIST = YES
527
528# The GENERATE_TESTLIST tag can be used to enable (YES) or
529# disable (NO) the test list. This list is created by putting \test
530# commands in the documentation.
531
532GENERATE_TESTLIST = YES
533
534# The GENERATE_BUGLIST tag can be used to enable (YES) or
535# disable (NO) the bug list. This list is created by putting \bug
536# commands in the documentation.
537
538GENERATE_BUGLIST = YES
539
540# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
541# disable (NO) the deprecated list. This list is created by putting
542# \deprecated commands in the documentation.
543
544GENERATE_DEPRECATEDLIST= YES
545
546# The ENABLED_SECTIONS tag can be used to enable conditional
547# documentation sections, marked by \if section-label ... \endif
548# and \cond section-label ... \endcond blocks.
549
550ENABLED_SECTIONS =
551
552# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
553# the initial value of a variable or macro consists of for it to appear in
554# the documentation. If the initializer consists of more lines than specified
555# here it will be hidden. Use a value of 0 to hide initializers completely.
556# The appearance of the initializer of individual variables and macros in the
557# documentation can be controlled using \showinitializer or \hideinitializer
558# command in the documentation regardless of this setting.
559
560MAX_INITIALIZER_LINES = 30
561
562# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
563# at the bottom of the documentation of classes and structs. If set to YES the
564# list will mention the files that were used to generate the documentation.
565
566SHOW_USED_FILES = YES
567
568# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
569# This will remove the Files entry from the Quick Index and from the
570# Folder Tree View (if specified). The default is YES.
571
572SHOW_FILES = YES
573
574# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
575# Namespaces page.
576# This will remove the Namespaces entry from the Quick Index
577# and from the Folder Tree View (if specified). The default is YES.
578
579SHOW_NAMESPACES = YES
580
581# The FILE_VERSION_FILTER tag can be used to specify a program or script that
582# doxygen should invoke to get the current version for each file (typically from
583# the version control system). Doxygen will invoke the program by executing (via
584# popen()) the command <command> <input-file>, where <command> is the value of
585# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
586# provided by doxygen. Whatever the program writes to standard output
587# is used as the file version. See the manual for examples.
588
589FILE_VERSION_FILTER =
590
591# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
592# by doxygen. The layout file controls the global structure of the generated
593# output files in an output format independent way. To create the layout file
594# that represents doxygen's defaults, run doxygen with the -l option.
595# You can optionally specify a file name after the option, if omitted
596# DoxygenLayout.xml will be used as the name of the layout file.
597
598LAYOUT_FILE =
599
600# The CITE_BIB_FILES tag can be used to specify one or more bib files
601# containing the references data. This must be a list of .bib files. The
602# .bib extension is automatically appended if omitted. Using this command
603# requires the bibtex tool to be installed. See also
604# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style
605# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this
606# feature you need bibtex and perl available in the search path. Do not use
607# file names with spaces, bibtex cannot handle them.
608
609CITE_BIB_FILES =
610
611#---------------------------------------------------------------------------
612# configuration options related to warning and progress messages
613#---------------------------------------------------------------------------
614
615# The QUIET tag can be used to turn on/off the messages that are generated
616# by doxygen. Possible values are YES and NO. If left blank NO is used.
617
618QUIET = NO
619
620# The WARNINGS tag can be used to turn on/off the warning messages that are
621# generated by doxygen. Possible values are YES and NO. If left blank
622# NO is used.
623
624WARNINGS = YES
625
626# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
627# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
628# automatically be disabled.
629
630WARN_IF_UNDOCUMENTED = YES
631
632# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
633# potential errors in the documentation, such as not documenting some
634# parameters in a documented function, or documenting parameters that
635# don't exist or using markup commands wrongly.
636
637WARN_IF_DOC_ERROR = YES
638
639# The WARN_NO_PARAMDOC option can be enabled to get warnings for
640# functions that are documented, but have no documentation for their parameters
641# or return value. If set to NO (the default) doxygen will only warn about
642# wrong or incomplete parameter documentation, but not about the absence of
643# documentation.
644
645WARN_NO_PARAMDOC = YES
646
647# The WARN_FORMAT tag determines the format of the warning messages that
648# doxygen can produce. The string should contain the $file, $line, and $text
649# tags, which will be replaced by the file and line number from which the
650# warning originated and the warning text. Optionally the format may contain
651# $version, which will be replaced by the version of the file (if it could
652# be obtained via FILE_VERSION_FILTER)
653
654WARN_FORMAT = "$file:$line: $text"
655
656# The WARN_LOGFILE tag can be used to specify a file to which warning
657# and error messages should be written. If left blank the output is written
658# to stderr.
659
660WARN_LOGFILE =
661
662#---------------------------------------------------------------------------
663# configuration options related to the input files
664#---------------------------------------------------------------------------
665
666# The INPUT tag can be used to specify the files and/or directories that contain
667# documented source files. You may enter file names like "myfile.cpp" or
668# directories like "/usr/src/myproject". Separate the files or directories
669# with spaces.
670
671INPUT = ${SOURCE_DIRS}
672
673# This tag can be used to specify the character encoding of the source files
674# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
675# also the default input encoding. Doxygen uses libiconv (or the iconv built
676# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
677# the list of possible encodings.
678
679INPUT_ENCODING = UTF-8
680
681# If the value of the INPUT tag contains directories, you can use the
682# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
683# and *.h) to filter out the source-files in the directories. If left
684# blank the following patterns are tested:
685# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh
686# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py
687# *.f90 *.f *.for *.vhd *.vhdl
688
689FILE_PATTERNS =
690
691# The RECURSIVE tag can be used to turn specify whether or not subdirectories
692# should be searched for input files as well. Possible values are YES and NO.
693# If left blank NO is used.
694
695RECURSIVE = YES
696
697# The EXCLUDE tag can be used to specify files and/or directories that should be
698# excluded from the INPUT source files. This way you can easily exclude a
699# subdirectory from a directory tree whose root is specified with the INPUT tag.
700# Note that relative paths are relative to the directory from which doxygen is
701# run.
702
703EXCLUDE =
704
705# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
706# directories that are symbolic links (a Unix file system feature) are excluded
707# from the input.
708
709EXCLUDE_SYMLINKS = NO
710
711# If the value of the INPUT tag contains directories, you can use the
712# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
713# certain files from those directories. Note that the wildcards are matched
714# against the file with absolute path, so to exclude all test directories
715# for example use the pattern */test/*
716
717EXCLUDE_PATTERNS =
718
719# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
720# (namespaces, classes, functions, etc.) that should be excluded from the
721# output. The symbol name can be a fully qualified name, a word, or if the
722# wildcard * is used, a substring. Examples: ANamespace, AClass,
723# AClass::ANamespace, ANamespace::*Test
724
725EXCLUDE_SYMBOLS =
726
727# The EXAMPLE_PATH tag can be used to specify one or more files or
728# directories that contain example code fragments that are included (see
729# the \include command).
730
731EXAMPLE_PATH = @CMAKE_SOURCE_DIR@/examples
732
733# If the value of the EXAMPLE_PATH tag contains directories, you can use the
734# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
735# and *.h) to filter out the source-files in the directories. If left
736# blank all files are included.
737
738EXAMPLE_PATTERNS =
739
740# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
741# searched for input files to be used with the \include or \dontinclude
742# commands irrespective of the value of the RECURSIVE tag.
743# Possible values are YES and NO. If left blank NO is used.
744
745EXAMPLE_RECURSIVE = YES
746
747# The IMAGE_PATH tag can be used to specify one or more files or
748# directories that contain image that are included in the documentation (see
749# the \image command).
750
751IMAGE_PATH =
752
753# The INPUT_FILTER tag can be used to specify a program that doxygen should
754# invoke to filter for each input file. Doxygen will invoke the filter program
755# by executing (via popen()) the command <filter> <input-file>, where <filter>
756# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
757# input file. Doxygen will then use the output that the filter program writes
758# to standard output.
759# If FILTER_PATTERNS is specified, this tag will be
760# ignored.
761
762INPUT_FILTER =
763
764# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
765# basis.
766# Doxygen will compare the file name with each pattern and apply the
767# filter if there is a match.
768# The filters are a list of the form:
769# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
770# info on how filters are used. If FILTER_PATTERNS is empty or if
771# non of the patterns match the file name, INPUT_FILTER is applied.
772
773FILTER_PATTERNS =
774
775# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
776# INPUT_FILTER) will be used to filter the input files when producing source
777# files to browse (i.e. when SOURCE_BROWSER is set to YES).
778
779FILTER_SOURCE_FILES = NO
780
781# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
782# pattern. A pattern will override the setting for FILTER_PATTERN (if any)
783# and it is also possible to disable source filtering for a specific pattern
784# using *.ext= (so without naming a filter). This option only has effect when
785# FILTER_SOURCE_FILES is enabled.
786
787FILTER_SOURCE_PATTERNS =
788
789# If the USE_MD_FILE_AS_MAINPAGE tag refers to the name of a markdown file that
790# is part of the input, its contents will be placed on the main page (index.html).
791# This can be useful if you have a project on for instance GitHub and want reuse
792# the introduction page also for the doxygen output.
793
794USE_MDFILE_AS_MAINPAGE =
795
796#---------------------------------------------------------------------------
797# configuration options related to source browsing
798#---------------------------------------------------------------------------
799
800# If the SOURCE_BROWSER tag is set to YES then a list of source files will
801# be generated. Documented entities will be cross-referenced with these sources.
802# Note: To get rid of all source code in the generated output, make sure also
803# VERBATIM_HEADERS is set to NO.
804
805SOURCE_BROWSER = YES
806
807# Setting the INLINE_SOURCES tag to YES will include the body
808# of functions and classes directly in the documentation.
809
810INLINE_SOURCES = NO
811
812# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
813# doxygen to hide any special comment blocks from generated source code
814# fragments. Normal C, C++ and Fortran comments will always remain visible.
815
816STRIP_CODE_COMMENTS = YES
817
818# If the REFERENCED_BY_RELATION tag is set to YES
819# then for each documented function all documented
820# functions referencing it will be listed.
821
822REFERENCED_BY_RELATION = YES
823
824# If the REFERENCES_RELATION tag is set to YES
825# then for each documented function all documented entities
826# called/used by that function will be listed.
827
828REFERENCES_RELATION = YES
829
830# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
831# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
832# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
833# link to the source code.
834# Otherwise they will link to the documentation.
835
836REFERENCES_LINK_SOURCE = YES
837
838# If the USE_HTAGS tag is set to YES then the references to source code
839# will point to the HTML generated by the htags(1) tool instead of doxygen
840# built-in source browser. The htags tool is part of GNU's global source
841# tagging system (see http://www.gnu.org/software/global/global.html). You
842# will need version 4.8.6 or higher.
843
844USE_HTAGS = NO
845
846# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
847# will generate a verbatim copy of the header file for each class for
848# which an include is specified. Set to NO to disable this.
849
850VERBATIM_HEADERS = YES
851
852#---------------------------------------------------------------------------
853# configuration options related to the alphabetical class index
854#---------------------------------------------------------------------------
855
856# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
857# of all compounds will be generated. Enable this if the project
858# contains a lot of classes, structs, unions or interfaces.
859
860ALPHABETICAL_INDEX = YES
861
862# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
863# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
864# in which this list will be split (can be a number in the range [1..20])
865
866COLS_IN_ALPHA_INDEX = 5
867
868# In case all classes in a project start with a common prefix, all
869# classes will be put under the same header in the alphabetical index.
870# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
871# should be ignored while generating the index headers.
872
873IGNORE_PREFIX =
874
875#---------------------------------------------------------------------------
876# configuration options related to the HTML output
877#---------------------------------------------------------------------------
878
879# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
880# generate HTML output.
881
882GENERATE_HTML = YES
883
884# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
885# If a relative path is entered the value of OUTPUT_DIRECTORY will be
886# put in front of it. If left blank `html' will be used as the default path.
887
888HTML_OUTPUT = html
889
890# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
891# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
892# doxygen will generate files with .html extension.
893
894HTML_FILE_EXTENSION = .html
895
896# The HTML_HEADER tag can be used to specify a personal HTML header for
897# each generated HTML page. If it is left blank doxygen will generate a
898# standard header. Note that when using a custom header you are responsible
899# for the proper inclusion of any scripts and style sheets that doxygen
900# needs, which is dependent on the configuration options used.
901# It is advised to generate a default header using "doxygen -w html
902# header.html footer.html stylesheet.css YourConfigFile" and then modify
903# that header. Note that the header is subject to change so you typically
904# have to redo this when upgrading to a newer version of doxygen or when
905# changing the value of configuration settings such as GENERATE_TREEVIEW!
906
907HTML_HEADER =
908
909# The HTML_FOOTER tag can be used to specify a personal HTML footer for
910# each generated HTML page. If it is left blank doxygen will generate a
911# standard footer.
912
913HTML_FOOTER =
914
915# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
916# style sheet that is used by each HTML page. It can be used to
917# fine-tune the look of the HTML output. If left blank doxygen will
918# generate a default style sheet. Note that it is recommended to use
919# HTML_EXTRA_STYLESHEET instead of this one, as it is more robust and this
920# tag will in the future become obsolete.
921
922HTML_STYLESHEET =
923
924# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional
925# user-defined cascading style sheet that is included after the standard
926# style sheets created by doxygen. Using this option one can overrule
927# certain style aspects. This is preferred over using HTML_STYLESHEET
928# since it does not replace the standard style sheet and is therefor more
929# robust against future updates. Doxygen will copy the style sheet file to
930# the output directory.
931
932HTML_EXTRA_STYLESHEET = @CMAKE_CURRENT_SOURCE_DIR@/extra.css
933
934# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
935# other source files which should be copied to the HTML output directory. Note
936# that these files will be copied to the base HTML output directory. Use the
937# $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
938# files. In the HTML_STYLESHEET file, use the file name only. Also note that
939# the files will be copied as-is; there are no commands or markers available.
940
941HTML_EXTRA_FILES =
942
943# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output.
944# Doxygen will adjust the colors in the style sheet and background images
945# according to this color. Hue is specified as an angle on a colorwheel,
946# see http://en.wikipedia.org/wiki/Hue for more information.
947# For instance the value 0 represents red, 60 is yellow, 120 is green,
948# 180 is cyan, 240 is blue, 300 purple, and 360 is red again.
949# The allowed range is 0 to 359.
950
951HTML_COLORSTYLE_HUE = 220
952
953# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of
954# the colors in the HTML output. For a value of 0 the output will use
955# grayscales only. A value of 255 will produce the most vivid colors.
956
957HTML_COLORSTYLE_SAT = 100
958
959# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to
960# the luminance component of the colors in the HTML output. Values below
961# 100 gradually make the output lighter, whereas values above 100 make
962# the output darker. The value divided by 100 is the actual gamma applied,
963# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2,
964# and 100 does not change the gamma.
965
966HTML_COLORSTYLE_GAMMA = 80
967
968# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
969# page will contain the date and time when the page was generated. Setting
970# this to NO can help when comparing the output of multiple runs.
971
972HTML_TIMESTAMP = YES
973
974# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
975# documentation will contain sections that can be hidden and shown after the
976# page has loaded.
977
978HTML_DYNAMIC_SECTIONS = YES
979
980# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of
981# entries shown in the various tree structured indices initially; the user
982# can expand and collapse entries dynamically later on. Doxygen will expand
983# the tree to such a level that at most the specified number of entries are
984# visible (unless a fully collapsed tree already exceeds this amount).
985# So setting the number of entries 1 will produce a full collapsed tree by
986# default. 0 is a special value representing an infinite number of entries
987# and will result in a full expanded tree by default.
988
989HTML_INDEX_NUM_ENTRIES = 100
990
991# If the GENERATE_DOCSET tag is set to YES, additional index files
992# will be generated that can be used as input for Apple's Xcode 3
993# integrated development environment, introduced with OSX 10.5 (Leopard).
994# To create a documentation set, doxygen will generate a Makefile in the
995# HTML output directory. Running make will produce the docset in that
996# directory and running "make install" will install the docset in
997# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
998# it at startup.
999# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
1000# for more information.
1001
1002GENERATE_DOCSET = NO
1003
1004# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
1005# feed. A documentation feed provides an umbrella under which multiple
1006# documentation sets from a single provider (such as a company or product suite)
1007# can be grouped.
1008
1009DOCSET_FEEDNAME = "Doxygen generated docs"
1010
1011# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
1012# should uniquely identify the documentation set bundle. This should be a
1013# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
1014# will append .docset to the name.
1015
1016DOCSET_BUNDLE_ID = org.doxygen.Project
1017
1018# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely
1019# identify the documentation publisher. This should be a reverse domain-name
1020# style string, e.g. com.mycompany.MyDocSet.documentation.
1021
1022DOCSET_PUBLISHER_ID = org.doxygen.Publisher
1023
1024# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher.
1025
1026DOCSET_PUBLISHER_NAME = Publisher
1027
1028# If the GENERATE_HTMLHELP tag is set to YES, additional index files
1029# will be generated that can be used as input for tools like the
1030# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
1031# of the generated HTML documentation.
1032
1033GENERATE_HTMLHELP = NO
1034
1035# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
1036# be used to specify the file name of the resulting .chm file. You
1037# can add a path in front of the file if the result should not be
1038# written to the html output directory.
1039
1040CHM_FILE =
1041
1042# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
1043# be used to specify the location (absolute path including file name) of
1044# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
1045# the HTML help compiler on the generated index.hhp.
1046
1047HHC_LOCATION =
1048
1049# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
1050# controls if a separate .chi index file is generated (YES) or that
1051# it should be included in the master .chm file (NO).
1052
1053GENERATE_CHI = NO
1054
1055# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
1056# is used to encode HtmlHelp index (hhk), content (hhc) and project file
1057# content.
1058
1059CHM_INDEX_ENCODING =
1060
1061# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
1062# controls whether a binary table of contents is generated (YES) or a
1063# normal table of contents (NO) in the .chm file.
1064
1065BINARY_TOC = NO
1066
1067# The TOC_EXPAND flag can be set to YES to add extra items for group members
1068# to the contents of the HTML help documentation and to the tree view.
1069
1070TOC_EXPAND = NO
1071
1072# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
1073# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated
1074# that can be used as input for Qt's qhelpgenerator to generate a
1075# Qt Compressed Help (.qch) of the generated HTML documentation.
1076
1077GENERATE_QHP = NO
1078
1079# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
1080# be used to specify the file name of the resulting .qch file.
1081# The path specified is relative to the HTML output folder.
1082
1083QCH_FILE =
1084
1085# The QHP_NAMESPACE tag specifies the namespace to use when generating
1086# Qt Help Project output. For more information please see
1087# http://doc.trolltech.com/qthelpproject.html#namespace
1088
1089QHP_NAMESPACE = org.doxygen.Project
1090
1091# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
1092# Qt Help Project output. For more information please see
1093# http://doc.trolltech.com/qthelpproject.html#virtual-folders
1094
1095QHP_VIRTUAL_FOLDER = doc
1096
1097# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to
1098# add. For more information please see
1099# http://doc.trolltech.com/qthelpproject.html#custom-filters
1100
1101QHP_CUST_FILTER_NAME =
1102
1103# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the
1104# custom filter to add. For more information please see
1105# <a href="http://doc.trolltech.com/qthelpproject.html#custom-filters">
1106# Qt Help Project / Custom Filters</a>.
1107
1108QHP_CUST_FILTER_ATTRS =
1109
1110# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
1111# project's
1112# filter section matches.
1113# <a href="http://doc.trolltech.com/qthelpproject.html#filter-attributes">
1114# Qt Help Project / Filter Attributes</a>.
1115
1116QHP_SECT_FILTER_ATTRS =
1117
1118# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
1119# be used to specify the location of Qt's qhelpgenerator.
1120# If non-empty doxygen will try to run qhelpgenerator on the generated
1121# .qhp file.
1122
1123QHG_LOCATION =
1124
1125# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files
1126# will be generated, which together with the HTML files, form an Eclipse help
1127# plugin. To install this plugin and make it available under the help contents
1128# menu in Eclipse, the contents of the directory containing the HTML and XML
1129# files needs to be copied into the plugins directory of eclipse. The name of
1130# the directory within the plugins directory should be the same as
1131# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before
1132# the help appears.
1133
1134GENERATE_ECLIPSEHELP = NO
1135
1136# A unique identifier for the eclipse help plugin. When installing the plugin
1137# the directory name containing the HTML and XML files should also have
1138# this name.
1139
1140ECLIPSE_DOC_ID = org.doxygen.Project
1141
1142# The DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs)
1143# at top of each HTML page. The value NO (the default) enables the index and
1144# the value YES disables it. Since the tabs have the same information as the
1145# navigation tree you can set this option to NO if you already set
1146# GENERATE_TREEVIEW to YES.
1147
1148DISABLE_INDEX = YES
1149
1150# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
1151# structure should be generated to display hierarchical information.
1152# If the tag value is set to YES, a side panel will be generated
1153# containing a tree-like index structure (just like the one that
1154# is generated for HTML Help). For this to work a browser that supports
1155# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser).
1156# Windows users are probably better off using the HTML help feature.
1157# Since the tree basically has the same information as the tab index you
1158# could consider to set DISABLE_INDEX to NO when enabling this option.
1159
1160GENERATE_TREEVIEW = YES
1161
1162# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values
1163# (range [0,1..20]) that doxygen will group on one line in the generated HTML
1164# documentation. Note that a value of 0 will completely suppress the enum
1165# values from appearing in the overview section.
1166
1167ENUM_VALUES_PER_LINE = 1
1168
1169# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
1170# used to set the initial width (in pixels) of the frame in which the tree
1171# is shown.
1172
1173TREEVIEW_WIDTH = 250
1174
1175# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open
1176# links to external symbols imported via tag files in a separate window.
1177
1178EXT_LINKS_IN_WINDOW = NO
1179
1180# Use this tag to change the font size of Latex formulas included
1181# as images in the HTML documentation. The default is 10. Note that
1182# when you change the font size after a successful doxygen run you need
1183# to manually remove any form_*.png images from the HTML output directory
1184# to force them to be regenerated.
1185
1186FORMULA_FONTSIZE = 10
1187
1188# Use the FORMULA_TRANPARENT tag to determine whether or not the images
1189# generated for formulas are transparent PNGs. Transparent PNGs are
1190# not supported properly for IE 6.0, but are supported on all modern browsers.
1191# Note that when changing this option you need to delete any form_*.png files
1192# in the HTML output before the changes have effect.
1193
1194FORMULA_TRANSPARENT = YES
1195
1196# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax
1197# (see http://www.mathjax.org) which uses client side Javascript for the
1198# rendering instead of using prerendered bitmaps. Use this if you do not
1199# have LaTeX installed or if you want to formulas look prettier in the HTML
1200# output. When enabled you may also need to install MathJax separately and
1201# configure the path to it using the MATHJAX_RELPATH option.
1202
1203USE_MATHJAX = NO
1204
1205# When MathJax is enabled you can set the default output format to be used for
1206# thA MathJax output. Supported types are HTML-CSS, NativeMML (i.e. MathML) and
1207# SVG. The default value is HTML-CSS, which is slower, but has the best
1208# compatibility.
1209
1210MATHJAX_FORMAT = HTML-CSS
1211
1212# When MathJax is enabled you need to specify the location relative to the
1213# HTML output directory using the MATHJAX_RELPATH option. The destination
1214# directory should contain the MathJax.js script. For instance, if the mathjax
1215# directory is located at the same level as the HTML output directory, then
1216# MATHJAX_RELPATH should be ../mathjax. The default value points to
1217# the MathJax Content Delivery Network so you can quickly see the result without
1218# installing MathJax.
1219# However, it is strongly recommended to install a local
1220# copy of MathJax from http://www.mathjax.org before deployment.
1221
1222MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
1223
1224# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension
1225# names that should be enabled during MathJax rendering.
1226
1227MATHJAX_EXTENSIONS =
1228
1229# When the SEARCHENGINE tag is enabled doxygen will generate a search box
1230# for the HTML output. The underlying search engine uses javascript
1231# and DHTML and should work on any modern browser. Note that when using
1232# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets
1233# (GENERATE_DOCSET) there is already a search function so this one should
1234# typically be disabled. For large projects the javascript based search engine
1235# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
1236
1237SEARCHENGINE = NO
1238
1239# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
1240# implemented using a web server instead of a web client using Javascript.
1241# There are two flavours of web server based search depending on the
1242# EXTERNAL_SEARCH setting. When disabled, doxygen will generate a PHP script for
1243# searching and an index file used by the script. When EXTERNAL_SEARCH is
1244# enabled the indexing and searching needs to be provided by external tools.
1245# See the manual for details.
1246
1247SERVER_BASED_SEARCH = NO
1248
1249# When EXTERNAL_SEARCH is enabled doxygen will no longer generate the PHP
1250# script for searching. Instead the search results are written to an XML file
1251# which needs to be processed by an external indexer. Doxygen will invoke an
1252# external search engine pointed to by the SEARCHENGINE_URL option to obtain
1253# the search results. Doxygen ships with an example indexer (doxyindexer) and
1254# search engine (doxysearch.cgi) which are based on the open source search engine
1255# library Xapian. See the manual for configuration details.
1256
1257EXTERNAL_SEARCH = NO
1258
1259# The SEARCHENGINE_URL should point to a search engine hosted by a web server
1260# which will returned the search results when EXTERNAL_SEARCH is enabled.
1261# Doxygen ships with an example search engine (doxysearch) which is based on
1262# the open source search engine library Xapian. See the manual for configuration
1263# details.
1264
1265SEARCHENGINE_URL =
1266
1267# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
1268# search data is written to a file for indexing by an external tool. With the
1269# SEARCHDATA_FILE tag the name of this file can be specified.
1270
1271SEARCHDATA_FILE = searchdata.xml
1272
1273# When SERVER_BASED_SEARCH AND EXTERNAL_SEARCH are both enabled the
1274# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
1275# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
1276# projects and redirect the results back to the right project.
1277
1278EXTERNAL_SEARCH_ID =
1279
1280# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
1281# projects other than the one defined by this configuration file, but that are
1282# all added to the same external search index. Each project needs to have a
1283# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id
1284# of to a relative location where the documentation can be found.
1285# The format is: EXTRA_SEARCH_MAPPINGS = id1=loc1 id2=loc2 ...
1286
1287EXTRA_SEARCH_MAPPINGS =
1288
1289#---------------------------------------------------------------------------
1290# configuration options related to the LaTeX output
1291#---------------------------------------------------------------------------
1292
1293# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
1294# generate Latex output.
1295
1296GENERATE_LATEX = NO
1297
1298# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
1299# If a relative path is entered the value of OUTPUT_DIRECTORY will be
1300# put in front of it. If left blank `latex' will be used as the default path.
1301
1302LATEX_OUTPUT = latex
1303
1304# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
1305# invoked. If left blank `latex' will be used as the default command name.
1306# Note that when enabling USE_PDFLATEX this option is only used for
1307# generating bitmaps for formulas in the HTML output, but not in the
1308# Makefile that is written to the output directory.
1309
1310LATEX_CMD_NAME = latex
1311
1312# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
1313# generate index for LaTeX. If left blank `makeindex' will be used as the
1314# default command name.
1315
1316MAKEINDEX_CMD_NAME = makeindex
1317
1318# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
1319# LaTeX documents. This may be useful for small projects and may help to
1320# save some trees in general.
1321
1322COMPACT_LATEX = YES
1323
1324# The PAPER_TYPE tag can be used to set the paper type that is used
1325# by the printer. Possible values are: a4, letter, legal and
1326# executive. If left blank a4wide will be used.
1327
1328PAPER_TYPE = a4
1329
1330# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
1331# packages that should be included in the LaTeX output.
1332
1333EXTRA_PACKAGES =
1334
1335# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
1336# the generated latex document. The header should contain everything until
1337# the first chapter. If it is left blank doxygen will generate a
1338# standard header. Notice: only use this tag if you know what you are doing!
1339
1340LATEX_HEADER =
1341
1342# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for
1343# the generated latex document. The footer should contain everything after
1344# the last chapter. If it is left blank doxygen will generate a
1345# standard footer. Notice: only use this tag if you know what you are doing!
1346
1347LATEX_FOOTER =
1348
1349# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
1350# is prepared for conversion to pdf (using ps2pdf). The pdf file will
1351# contain links (just like the HTML output) instead of page references
1352# This makes the output suitable for online browsing using a pdf viewer.
1353
1354PDF_HYPERLINKS = YES
1355
1356# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
1357# plain latex in the generated Makefile. Set this option to YES to get a
1358# higher quality PDF documentation.
1359
1360USE_PDFLATEX = YES
1361
1362# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
1363# command to the generated LaTeX files. This will instruct LaTeX to keep
1364# running if errors occur, instead of asking the user for help.
1365# This option is also used when generating formulas in HTML.
1366
1367LATEX_BATCHMODE = NO
1368
1369# If LATEX_HIDE_INDICES is set to YES then doxygen will not
1370# include the index chapters (such as File Index, Compound Index, etc.)
1371# in the output.
1372
1373LATEX_HIDE_INDICES = NO
1374
1375# If LATEX_SOURCE_CODE is set to YES then doxygen will include
1376# source code with syntax highlighting in the LaTeX output.
1377# Note that which sources are shown also depends on other settings
1378# such as SOURCE_BROWSER.
1379
1380LATEX_SOURCE_CODE = NO
1381
1382# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
1383# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See
1384# http://en.wikipedia.org/wiki/BibTeX for more info.
1385
1386LATEX_BIB_STYLE = plain
1387
1388#---------------------------------------------------------------------------
1389# configuration options related to the RTF output
1390#---------------------------------------------------------------------------
1391
1392# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
1393# The RTF output is optimized for Word 97 and may not look very pretty with
1394# other RTF readers or editors.
1395
1396GENERATE_RTF = NO
1397
1398# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
1399# If a relative path is entered the value of OUTPUT_DIRECTORY will be
1400# put in front of it. If left blank `rtf' will be used as the default path.
1401
1402RTF_OUTPUT = rtf
1403
1404# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
1405# RTF documents. This may be useful for small projects and may help to
1406# save some trees in general.
1407
1408COMPACT_RTF = NO
1409
1410# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
1411# will contain hyperlink fields. The RTF file will
1412# contain links (just like the HTML output) instead of page references.
1413# This makes the output suitable for online browsing using WORD or other
1414# programs which support those fields.
1415# Note: wordpad (write) and others do not support links.
1416
1417RTF_HYPERLINKS = NO
1418
1419# Load style sheet definitions from file. Syntax is similar to doxygen's
1420# config file, i.e. a series of assignments. You only have to provide
1421# replacements, missing definitions are set to their default value.
1422
1423RTF_STYLESHEET_FILE =
1424
1425# Set optional variables used in the generation of an rtf document.
1426# Syntax is similar to doxygen's config file.
1427
1428RTF_EXTENSIONS_FILE =
1429
1430#---------------------------------------------------------------------------
1431# configuration options related to the man page output
1432#---------------------------------------------------------------------------
1433
1434# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
1435# generate man pages
1436
1437GENERATE_MAN = NO
1438
1439# The MAN_OUTPUT tag is used to specify where the man pages will be put.
1440# If a relative path is entered the value of OUTPUT_DIRECTORY will be
1441# put in front of it. If left blank `man' will be used as the default path.
1442
1443MAN_OUTPUT = man
1444
1445# The MAN_EXTENSION tag determines the extension that is added to
1446# the generated man pages (default is the subroutine's section .3)
1447
1448MAN_EXTENSION = .3
1449
1450# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
1451# then it will generate one additional man file for each entity
1452# documented in the real man page(s). These additional files
1453# only source the real man page, but without them the man command
1454# would be unable to find the correct page. The default is NO.
1455
1456MAN_LINKS = NO
1457
1458#---------------------------------------------------------------------------
1459# configuration options related to the XML output
1460#---------------------------------------------------------------------------
1461
1462# If the GENERATE_XML tag is set to YES Doxygen will
1463# generate an XML file that captures the structure of
1464# the code including all documentation.
1465
1466GENERATE_XML = YES
1467
1468# The XML_OUTPUT tag is used to specify where the XML pages will be put.
1469# If a relative path is entered the value of OUTPUT_DIRECTORY will be
1470# put in front of it. If left blank `xml' will be used as the default path.
1471
1472XML_OUTPUT = xml
1473
1474# The XML_SCHEMA tag can be used to specify an XML schema,
1475# which can be used by a validating XML parser to check the
1476# syntax of the XML files.
1477
1478XML_SCHEMA =
1479
1480# The XML_DTD tag can be used to specify an XML DTD,
1481# which can be used by a validating XML parser to check the
1482# syntax of the XML files.
1483
1484XML_DTD =
1485
1486# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
1487# dump the program listings (including syntax highlighting
1488# and cross-referencing information) to the XML output. Note that
1489# enabling this will significantly increase the size of the XML output.
1490
1491XML_PROGRAMLISTING = YES
1492
1493#---------------------------------------------------------------------------
1494# configuration options for the AutoGen Definitions output
1495#---------------------------------------------------------------------------
1496
1497# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
1498# generate an AutoGen Definitions (see autogen.sf.net) file
1499# that captures the structure of the code including all
1500# documentation. Note that this feature is still experimental
1501# and incomplete at the moment.
1502
1503GENERATE_AUTOGEN_DEF = NO
1504
1505#---------------------------------------------------------------------------
1506# configuration options related to the Perl module output
1507#---------------------------------------------------------------------------
1508
1509# If the GENERATE_PERLMOD tag is set to YES Doxygen will
1510# generate a Perl module file that captures the structure of
1511# the code including all documentation. Note that this
1512# feature is still experimental and incomplete at the
1513# moment.
1514
1515GENERATE_PERLMOD = NO
1516
1517# If the PERLMOD_LATEX tag is set to YES Doxygen will generate
1518# the necessary Makefile rules, Perl scripts and LaTeX code to be able
1519# to generate PDF and DVI output from the Perl module output.
1520
1521PERLMOD_LATEX = NO
1522
1523# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
1524# nicely formatted so it can be parsed by a human reader.
1525# This is useful
1526# if you want to understand what is going on.
1527# On the other hand, if this
1528# tag is set to NO the size of the Perl module output will be much smaller
1529# and Perl will parse it just the same.
1530
1531PERLMOD_PRETTY = YES
1532
1533# The names of the make variables in the generated doxyrules.make file
1534# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
1535# This is useful so different doxyrules.make files included by the same
1536# Makefile don't overwrite each other's variables.
1537
1538PERLMOD_MAKEVAR_PREFIX =
1539
1540#---------------------------------------------------------------------------
1541# Configuration options related to the preprocessor
1542#---------------------------------------------------------------------------
1543
1544# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
1545# evaluate all C-preprocessor directives found in the sources and include
1546# files.
1547
1548ENABLE_PREPROCESSING = YES
1549
1550# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
1551# names in the source code. If set to NO (the default) only conditional
1552# compilation will be performed. Macro expansion can be done in a controlled
1553# way by setting EXPAND_ONLY_PREDEF to YES.
1554
1555MACRO_EXPANSION = NO
1556
1557# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
1558# then the macro expansion is limited to the macros specified with the
1559# PREDEFINED and EXPAND_AS_DEFINED tags.
1560
1561EXPAND_ONLY_PREDEF = NO
1562
1563# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
1564# pointed to by INCLUDE_PATH will be searched when a #include is found.
1565
1566SEARCH_INCLUDES = YES
1567
1568# The INCLUDE_PATH tag can be used to specify one or more directories that
1569# contain include files that are not input files but should be processed by
1570# the preprocessor.
1571
1572INCLUDE_PATH =
1573
1574# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
1575# patterns (like *.h and *.hpp) to filter out the header-files in the
1576# directories. If left blank, the patterns specified with FILE_PATTERNS will
1577# be used.
1578
1579INCLUDE_FILE_PATTERNS =
1580
1581# The PREDEFINED tag can be used to specify one or more macro names that
1582# are defined before the preprocessor is started (similar to the -D option of
1583# gcc). The argument of the tag is a list of macros of the form: name
1584# or name=definition (no spaces). If the definition and the = are
1585# omitted =1 is assumed. To prevent a macro definition from being
1586# undefined via #undef or recursively expanded use the := operator
1587# instead of the = operator.
1588
1589PREDEFINED =
1590
1591# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
1592# this tag can be used to specify a list of macro names that should be expanded.
1593# The macro definition that is found in the sources will be used.
1594# Use the PREDEFINED tag if you want to use a different macro definition that
1595# overrules the definition found in the source code.
1596
1597EXPAND_AS_DEFINED =
1598
1599# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
1600# doxygen's preprocessor will remove all references to function-like macros
1601# that are alone on a line, have an all uppercase name, and do not end with a
1602# semicolon, because these will confuse the parser if not removed.
1603
1604SKIP_FUNCTION_MACROS = YES
1605
1606#---------------------------------------------------------------------------
1607# Configuration::additions related to external references
1608#---------------------------------------------------------------------------
1609
1610# The TAGFILES option can be used to specify one or more tagfiles. For each
1611# tag file the location of the external documentation should be added. The
1612# format of a tag file without this location is as follows:
1613#
1614# TAGFILES = file1 file2 ...
1615# Adding location for the tag files is done as follows:
1616#
1617# TAGFILES = file1=loc1 "file2 = loc2" ...
1618# where "loc1" and "loc2" can be relative or absolute paths
1619# or URLs. Note that each tag file must have a unique name (where the name does
1620# NOT include the path). If a tag file is not located in the directory in which
1621# doxygen is run, you must also specify the path to the tagfile here.
1622
1623TAGFILES =
1624
1625# When a file name is specified after GENERATE_TAGFILE, doxygen will create
1626# a tag file that is based on the input files it reads.
1627
1628GENERATE_TAGFILE =
1629
1630# If the ALLEXTERNALS tag is set to YES all external classes will be listed
1631# in the class index. If set to NO only the inherited external classes
1632# will be listed.
1633
1634ALLEXTERNALS = NO
1635
1636# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
1637# in the modules index. If set to NO, only the current project's groups will
1638# be listed.
1639
1640EXTERNAL_GROUPS = YES
1641
1642# The PERL_PATH should be the absolute path and name of the perl script
1643# interpreter (i.e. the result of `which perl').
1644
1645PERL_PATH = /usr/bin/perl
1646
1647#---------------------------------------------------------------------------
1648# Configuration options related to the dot tool
1649#---------------------------------------------------------------------------
1650
1651# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
1652# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
1653# or super classes. Setting the tag to NO turns the diagrams off. Note that
1654# this option also works with HAVE_DOT disabled, but it is recommended to
1655# install and use dot, since it yields more powerful graphs.
1656
1657CLASS_DIAGRAMS = YES
1658
1659# You can define message sequence charts within doxygen comments using the \msc
1660# command. Doxygen will then run the mscgen tool (see
1661# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
1662# documentation. The MSCGEN_PATH tag allows you to specify the directory where
1663# the mscgen tool resides. If left empty the tool is assumed to be found in the
1664# default search path.
1665
1666MSCGEN_PATH =
1667
1668# If set to YES, the inheritance and collaboration graphs will hide
1669# inheritance and usage relations if the target is undocumented
1670# or is not a class.
1671
1672HIDE_UNDOC_RELATIONS = NO
1673
1674# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
1675# available from the path. This tool is part of Graphviz, a graph visualization
1676# toolkit from AT&T and Lucent Bell Labs. The other options in this section
1677# have no effect if this option is set to NO (the default)
1678
1679HAVE_DOT = YES
1680
1681# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is
1682# allowed to run in parallel. When set to 0 (the default) doxygen will
1683# base this on the number of processors available in the system. You can set it
1684# explicitly to a value larger than 0 to get control over the balance
1685# between CPU load and processing speed.
1686
1687DOT_NUM_THREADS = 0
1688
1689# By default doxygen will use the Helvetica font for all dot files that
1690# doxygen generates. When you want a differently looking font you can specify
1691# the font name using DOT_FONTNAME. You need to make sure dot is able to find
1692# the font, which can be done by putting it in a standard location or by setting
1693# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the
1694# directory containing the font.
1695
1696DOT_FONTNAME = Helvetica
1697
1698# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
1699# The default size is 10pt.
1700
1701DOT_FONTSIZE = 10
1702
1703# By default doxygen will tell dot to use the Helvetica font.
1704# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to
1705# set the path where dot can find it.
1706
1707DOT_FONTPATH =
1708
1709# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
1710# will generate a graph for each documented class showing the direct and
1711# indirect inheritance relations. Setting this tag to YES will force the
1712# CLASS_DIAGRAMS tag to NO.
1713
1714CLASS_GRAPH = YES
1715
1716# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
1717# will generate a graph for each documented class showing the direct and
1718# indirect implementation dependencies (inheritance, containment, and
1719# class references variables) of the class with other documented classes.
1720
1721COLLABORATION_GRAPH = YES
1722
1723# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
1724# will generate a graph for groups, showing the direct groups dependencies
1725
1726GROUP_GRAPHS = YES
1727
1728# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
1729# collaboration diagrams in a style similar to the OMG's Unified Modeling
1730# Language.
1731
1732UML_LOOK = YES
1733
1734# If the UML_LOOK tag is enabled, the fields and methods are shown inside
1735# the class node. If there are many fields or methods and many nodes the
1736# graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS
1737# threshold limits the number of items for each type to make the size more
1738# managable. Set this to 0 for no limit. Note that the threshold may be
1739# exceeded by 50% before the limit is enforced.
1740
1741UML_LIMIT_NUM_FIELDS = 10
1742
1743# If set to YES, the inheritance and collaboration graphs will show the
1744# relations between templates and their instances.
1745
1746TEMPLATE_RELATIONS = NO
1747
1748# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
1749# tags are set to YES then doxygen will generate a graph for each documented
1750# file showing the direct and indirect include dependencies of the file with
1751# other documented files.
1752
1753INCLUDE_GRAPH = YES
1754
1755# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
1756# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
1757# documented header file showing the documented files that directly or
1758# indirectly include this file.
1759
1760INCLUDED_BY_GRAPH = YES
1761
1762# If the CALL_GRAPH and HAVE_DOT options are set to YES then
1763# doxygen will generate a call dependency graph for every global function
1764# or class method. Note that enabling this option will significantly increase
1765# the time of a run. So in most cases it will be better to enable call graphs
1766# for selected functions only using the \callgraph command.
1767
1768CALL_GRAPH = YES
1769
1770# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
1771# doxygen will generate a caller dependency graph for every global function
1772# or class method. Note that enabling this option will significantly increase
1773# the time of a run. So in most cases it will be better to enable caller
1774# graphs for selected functions only using the \callergraph command.
1775
1776CALLER_GRAPH = NO
1777
1778# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
1779# will generate a graphical hierarchy of all classes instead of a textual one.
1780
1781GRAPHICAL_HIERARCHY = YES
1782
1783# If the DIRECTORY_GRAPH and HAVE_DOT tags are set to YES
1784# then doxygen will show the dependencies a directory has on other directories
1785# in a graphical way. The dependency relations are determined by the #include
1786# relations between the files in the directories.
1787
1788DIRECTORY_GRAPH = YES
1789
1790# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
1791# generated by dot. Possible values are svg, png, jpg, or gif.
1792# If left blank png will be used. If you choose svg you need to set
1793# HTML_FILE_EXTENSION to xhtml in order to make the SVG files
1794# visible in IE 9+ (other browsers do not have this requirement).
1795
1796DOT_IMAGE_FORMAT = png
1797
1798# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
1799# enable generation of interactive SVG images that allow zooming and panning.
1800# Note that this requires a modern browser other than Internet Explorer.
1801# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you
1802# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files
1803# visible. Older versions of IE do not have SVG support.
1804
1805INTERACTIVE_SVG = YES
1806
1807# The tag DOT_PATH can be used to specify the path where the dot tool can be
1808# found. If left blank, it is assumed the dot tool can be found in the path.
1809
1810DOT_PATH =
1811
1812# The DOTFILE_DIRS tag can be used to specify one or more directories that
1813# contain dot files that are included in the documentation (see the
1814# \dotfile command).
1815
1816DOTFILE_DIRS =
1817
1818# The MSCFILE_DIRS tag can be used to specify one or more directories that
1819# contain msc files that are included in the documentation (see the
1820# \mscfile command).
1821
1822MSCFILE_DIRS =
1823
1824# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
1825# nodes that will be shown in the graph. If the number of nodes in a graph
1826# becomes larger than this value, doxygen will truncate the graph, which is
1827# visualized by representing a node as a red box. Note that doxygen if the
1828# number of direct children of the root node in a graph is already larger than
1829# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
1830# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
1831
1832DOT_GRAPH_MAX_NODES = 50
1833
1834# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
1835# graphs generated by dot. A depth value of 3 means that only nodes reachable
1836# from the root by following a path via at most 3 edges will be shown. Nodes
1837# that lay further from the root node will be omitted. Note that setting this
1838# option to 1 or 2 may greatly reduce the computation time needed for large
1839# code bases. Also note that the size of a graph can be further restricted by
1840# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
1841
1842MAX_DOT_GRAPH_DEPTH = 0
1843
1844# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
1845# background. This is disabled by default, because dot on Windows does not
1846# seem to support this out of the box. Warning: Depending on the platform used,
1847# enabling this option may lead to badly anti-aliased labels on the edges of
1848# a graph (i.e. they become hard to read).
1849
1850DOT_TRANSPARENT = YES
1851
1852# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
1853# files in one run (i.e. multiple -o and -T options on the command line). This
1854# makes dot run faster, but since only newer versions of dot (>1.8.10)
1855# support this, this feature is disabled by default.
1856
1857DOT_MULTI_TARGETS = YES
1858
1859# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
1860# generate a legend page explaining the meaning of the various boxes and
1861# arrows in the dot generated graphs.
1862
1863GENERATE_LEGEND = YES
1864
1865# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
1866# remove the intermediate dot files that are used to generate
1867# the various graphs.
1868
1869DOT_CLEANUP = YES
18700
=== added directory 'doc/dbus'
=== added file 'doc/dbus/connectivity-api.txt'
--- doc/dbus/connectivity-api.txt 1970-01-01 00:00:00 +0000
+++ doc/dbus/connectivity-api.txt 2014-08-21 18:21:03 +0000
@@ -0,0 +1,26 @@
1Service com.ubuntu.connectivity1
2Interface com.ubuntu.connectivity1.NetworkingStatus
3Object path /com/ubuntu/connectivity1/NetworkingStatus
4Policy group connectivity
5Supports org.freedesktop.DBus.Introspectable
6 org.freedesktop.DBus.Properties
7
8Properties array{string} Limitations [readonly]
9
10 String array representing the possible limitations
11 on networking.
12
13 Currently available limitations are:
14 "bandwith"
15
16 "bandwith" - indicates that the bandwith of the
17 Internet connection has limitations.
18 Applications should minimize their bandwith
19 usage if possible.
20
21 string Status [readonly]
22
23 Status of the Internet connectivity.
24
25 Possible values:
26 "offline", "connecting", "online"
027
=== removed directory 'doc/pages'
=== removed file 'doc/pages/mainpage.dox'
--- doc/pages/mainpage.dox 2014-03-11 12:20:55 +0000
+++ doc/pages/mainpage.dox 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1/*!
2\mainpage Ubuntu Connectivity API
3
4\tableofcontents
5
6\section sec_introduction Introduction
7
8Ubuntu API offers a way to access the connectivity related information of the system.
9
10\subsection sec_thread_safety Note on thread safety
11
12The API implementation uses a worker thread. The property changes may be dispatched from this thread and thus the
13user of this API must make sure to handle necessary threading issues.
14
15\section sec_general General Topics
16
17 - \ref using-cpp "Using this C++ API"
18 - \ref networking-status "Getting the networking status."
19
20\section sec_bug_reports Reporting Bugs
21If you find any problems with the or this documentation,
22please file a bug in Connectivity API [Launchpad page](https://bugs.launchpad.net/connectivity-api).
23*/
240
=== removed file 'doc/pages/networking-status.dox'
--- doc/pages/networking-status.dox 2014-03-11 14:19:31 +0000
+++ doc/pages/networking-status.dox 1970-01-01 00:00:00 +0000
@@ -1,31 +0,0 @@
1/*!
2\page networking-status Networking Status
3
4Applications needing to access the overall system networking status can access the
5top level com::ubuntu::connectivity::networking::Manager class. The class has properties
6for the networking status and connection characteristics of the system networking.
7
8\section Setup
9
10Manager is accessed by including the appropriate header:
11\snippet example_networking_status.cpp include
12
13and then creating an instance of the manager:
14\snippet example_networking_status.cpp create manager
15
16\section sec_networking_status Networking Status
17
18The status of the system networking can be accessed through the Manager::status property:
19\snippet example_networking_status.cpp subscribe networking status changes
20
21\section sec_characteristics Networking Characteristics
22
23The characteristics can be accessed through the Manager::characteristics property
24as a bitfield:
25\snippet example_networking_status.cpp subscribe characteristics changes
26
27---
28The complete example (found in <i>examples/example_networking_status.cpp</i>):
29\include example_networking_status.cpp
30
31*/
320
=== removed file 'doc/pages/using.dox'
--- doc/pages/using.dox 2014-03-11 12:20:55 +0000
+++ doc/pages/using.dox 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
1/*!
2\page using-cpp Using the C++ API
3
4Install the development headers:
5
6\code{.txt}
7sudo apt-get install libconnectivity-cpp-dev
8\endcode
9
10Enable c++11 and use pkg-config to get the necessary compilation flags:
11
12\code{.txt}
13$ g++ myapp.cpp -std=c++11 `pkg-config --cflags --libs connectivity-cpp` -o myapp
14\endcode
15
16The headers can then be included as:
17
18\code{.cpp}
19// includes the com::ubuntu::networking::connectivity::Manager class
20#include <com/ubuntu/connectivity/networking/manager.h>
21\endcode
22
23*/
240
=== added directory 'doc/qt'
=== added file 'doc/qt/CMakeLists.txt'
--- doc/qt/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ doc/qt/CMakeLists.txt 2014-08-21 18:21:03 +0000
@@ -0,0 +1,3 @@
1add_subdirectory(cpp)
2add_subdirectory(qml)
3
04
=== added directory 'doc/qt/cpp'
=== added file 'doc/qt/cpp/CMakeLists.txt'
--- doc/qt/cpp/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ doc/qt/cpp/CMakeLists.txt 2014-08-21 18:21:03 +0000
@@ -0,0 +1,40 @@
1add_subdirectory(examples)
2
3set(EXTRACT_PRIVATE NO)
4set(INTERNAL_DOCS NO)
5set(SOURCE_DIRS "${CMAKE_SOURCE_DIR}/src/qt/include ${CMAKE_CURRENT_SOURCE_DIR}")
6
7if(${PRIVATE_DOCS})
8 set(EXTRACT_PRIVATE YES)
9 set(INTERNAL_DOCS YES)
10 set(SOURCE_DIRS "${SOURCE_DIRS} ${CMAKE_SOURCE_DIR}/src")
11endif()
12
13set(DOC_FILES
14 Doxyfile.in
15 pages/mainpage.dox
16 pages/using.dox
17 pages/networking-status.dox
18)
19
20find_package(Doxygen)
21if(DOXYGEN_FOUND)
22 configure_file(
23 ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
24 ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY
25 )
26 add_custom_target(cppdoc
27 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
28 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
29 COMMENT "Generating API documentation with Doxygen" VERBATIM
30 SOURCES ${DOC_FILES}
31 )
32 install(
33 DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
34 DESTINATION ${INSTALL_DOCDIR}/cpp/
35 )
36 install(
37 DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/xml
38 DESTINATION ${INSTALL_DOCDIR}/cpp/
39 )
40endif(DOXYGEN_FOUND)
041
=== added file 'doc/qt/cpp/Doxyfile.in'
--- doc/qt/cpp/Doxyfile.in 1970-01-01 00:00:00 +0000
+++ doc/qt/cpp/Doxyfile.in 2014-08-21 18:21:03 +0000
@@ -0,0 +1,2316 @@
1# Doxyfile 1.8.7
2
3# This file describes the settings to be used by the documentation system
4# doxygen (www.doxygen.org) for a project.
5#
6# All text after a double hash (##) is considered a comment and is placed in
7# front of the TAG it is preceding.
8#
9# All text after a single hash (#) is considered a comment and will be ignored.
10# The format is:
11# TAG = value [value, ...]
12# For lists, items can also be appended using:
13# TAG += value [value, ...]
14# Values that contain spaces should be placed between quotes (\" \").
15
16#---------------------------------------------------------------------------
17# Project related configuration options
18#---------------------------------------------------------------------------
19
20# This tag specifies the encoding used for all characters in the config file
21# that follow. The default is UTF-8 which is also the encoding used for all text
22# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
23# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
24# for the list of possible encodings.
25# The default value is: UTF-8.
26
27DOXYFILE_ENCODING = UTF-8
28
29# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
30# double-quotes, unless you are using Doxywizard) that should identify the
31# project for which the documentation is generated. This name is used in the
32# title of most generated pages and in a few other places.
33# The default value is: My Project.
34
35PROJECT_NAME = "Ubuntu Connectivity Qt API"
36
37# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
38# could be handy for archiving the generated documentation or if some version
39# control system is used.
40
41PROJECT_NUMBER = @CONNECTIVITY_QT_VERSION_MAJOR@.@CONNECTIVITY_QT_VERSION_MINOR@
42
43# Using the PROJECT_BRIEF tag one can provide an optional one line description
44# for a project that appears at the top of each page and should give viewer a
45# quick idea about the purpose of the project. Keep the description short.
46
47PROJECT_BRIEF =
48
49# With the PROJECT_LOGO tag one can specify an logo or icon that is included in
50# the documentation. The maximum height of the logo should not exceed 55 pixels
51# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo
52# to the output directory.
53
54PROJECT_LOGO =
55
56# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
57# into which the generated documentation will be written. If a relative path is
58# entered, it will be relative to the location where doxygen was started. If
59# left blank the current directory will be used.
60
61OUTPUT_DIRECTORY =
62
63# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
64# directories (in 2 levels) under the output directory of each output format and
65# will distribute the generated files over these directories. Enabling this
66# option can be useful when feeding doxygen a huge amount of source files, where
67# putting all generated files in the same directory would otherwise causes
68# performance problems for the file system.
69# The default value is: NO.
70
71CREATE_SUBDIRS = NO
72
73# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
74# characters to appear in the names of generated files. If set to NO, non-ASCII
75# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
76# U+3044.
77# The default value is: NO.
78
79ALLOW_UNICODE_NAMES = NO
80
81# The OUTPUT_LANGUAGE tag is used to specify the language in which all
82# documentation generated by doxygen is written. Doxygen will use this
83# information to generate all constant output in the proper language.
84# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
85# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
86# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
87# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
88# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
89# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
90# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
91# Ukrainian and Vietnamese.
92# The default value is: English.
93
94OUTPUT_LANGUAGE = English
95
96# If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
97# descriptions after the members that are listed in the file and class
98# documentation (similar to Javadoc). Set to NO to disable this.
99# The default value is: YES.
100
101BRIEF_MEMBER_DESC = YES
102
103# If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief
104# description of a member or function before the detailed description
105#
106# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
107# brief descriptions will be completely suppressed.
108# The default value is: YES.
109
110REPEAT_BRIEF = YES
111
112# This tag implements a quasi-intelligent brief description abbreviator that is
113# used to form the text in various listings. Each string in this list, if found
114# as the leading text of the brief description, will be stripped from the text
115# and the result, after processing the whole list, is used as the annotated
116# text. Otherwise, the brief description is used as-is. If left blank, the
117# following values are used ($name is automatically replaced with the name of
118# the entity):The $name class, The $name widget, The $name file, is, provides,
119# specifies, contains, represents, a, an and the.
120
121ABBREVIATE_BRIEF =
122
123# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
124# doxygen will generate a detailed section even if there is only a brief
125# description.
126# The default value is: NO.
127
128ALWAYS_DETAILED_SEC = NO
129
130# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
131# inherited members of a class in the documentation of that class as if those
132# members were ordinary class members. Constructors, destructors and assignment
133# operators of the base classes will not be shown.
134# The default value is: NO.
135
136INLINE_INHERITED_MEMB = NO
137
138# If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path
139# before files name in the file list and in the header files. If set to NO the
140# shortest path that makes the file name unique will be used
141# The default value is: YES.
142
143FULL_PATH_NAMES = NO
144
145# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
146# Stripping is only done if one of the specified strings matches the left-hand
147# part of the path. The tag can be used to show relative paths in the file list.
148# If left blank the directory from which doxygen is run is used as the path to
149# strip.
150#
151# Note that you can specify absolute paths here, but also relative paths, which
152# will be relative from the directory where doxygen is started.
153# This tag requires that the tag FULL_PATH_NAMES is set to YES.
154
155STRIP_FROM_PATH =
156
157# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
158# path mentioned in the documentation of a class, which tells the reader which
159# header file to include in order to use a class. If left blank only the name of
160# the header file containing the class definition is used. Otherwise one should
161# specify the list of include paths that are normally passed to the compiler
162# using the -I flag.
163
164STRIP_FROM_INC_PATH = @CMAKE_SOURCE_DIR@/src/qt/include
165
166# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
167# less readable) file names. This can be useful is your file systems doesn't
168# support long names like on DOS, Mac, or CD-ROM.
169# The default value is: NO.
170
171SHORT_NAMES = NO
172
173# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
174# first line (until the first dot) of a Javadoc-style comment as the brief
175# description. If set to NO, the Javadoc-style will behave just like regular Qt-
176# style comments (thus requiring an explicit @brief command for a brief
177# description.)
178# The default value is: NO.
179
180JAVADOC_AUTOBRIEF = NO
181
182# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
183# line (until the first dot) of a Qt-style comment as the brief description. If
184# set to NO, the Qt-style will behave just like regular Qt-style comments (thus
185# requiring an explicit \brief command for a brief description.)
186# The default value is: NO.
187
188QT_AUTOBRIEF = NO
189
190# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
191# multi-line C++ special comment block (i.e. a block of //! or /// comments) as
192# a brief description. This used to be the default behavior. The new default is
193# to treat a multi-line C++ comment block as a detailed description. Set this
194# tag to YES if you prefer the old behavior instead.
195#
196# Note that setting this tag to YES also means that rational rose comments are
197# not recognized any more.
198# The default value is: NO.
199
200MULTILINE_CPP_IS_BRIEF = NO
201
202# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
203# documentation from any documented member that it re-implements.
204# The default value is: YES.
205
206INHERIT_DOCS = YES
207
208# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce a
209# new page for each member. If set to NO, the documentation of a member will be
210# part of the file/class/namespace that contains it.
211# The default value is: NO.
212
213SEPARATE_MEMBER_PAGES = NO
214
215# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
216# uses this value to replace tabs by spaces in code fragments.
217# Minimum value: 1, maximum value: 16, default value: 4.
218
219TAB_SIZE = 4
220
221# This tag can be used to specify a number of aliases that act as commands in
222# the documentation. An alias has the form:
223# name=value
224# For example adding
225# "sideeffect=@par Side Effects:\n"
226# will allow you to put the command \sideeffect (or @sideeffect) in the
227# documentation, which will result in a user-defined paragraph with heading
228# "Side Effects:". You can put \n's in the value part of an alias to insert
229# newlines.
230
231ALIASES = "accessors=\par Accessors:\n" \
232 "initvalue=\par Initial Value:\n" \
233 "notify=\par Notify:\n"
234
235# This tag can be used to specify a number of word-keyword mappings (TCL only).
236# A mapping has the form "name=value". For example adding "class=itcl::class"
237# will allow you to use the command class in the itcl::class meaning.
238
239TCL_SUBST =
240
241# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
242# only. Doxygen will then generate output that is more tailored for C. For
243# instance, some of the names that are used will be different. The list of all
244# members will be omitted, etc.
245# The default value is: NO.
246
247OPTIMIZE_OUTPUT_FOR_C = NO
248
249# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
250# Python sources only. Doxygen will then generate output that is more tailored
251# for that language. For instance, namespaces will be presented as packages,
252# qualified scopes will look different, etc.
253# The default value is: NO.
254
255OPTIMIZE_OUTPUT_JAVA = NO
256
257# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
258# sources. Doxygen will then generate output that is tailored for Fortran.
259# The default value is: NO.
260
261OPTIMIZE_FOR_FORTRAN = NO
262
263# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
264# sources. Doxygen will then generate output that is tailored for VHDL.
265# The default value is: NO.
266
267OPTIMIZE_OUTPUT_VHDL = NO
268
269# Doxygen selects the parser to use depending on the extension of the files it
270# parses. With this tag you can assign which parser to use for a given
271# extension. Doxygen has a built-in mapping, but you can override or extend it
272# using this tag. The format is ext=language, where ext is a file extension, and
273# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
274# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran:
275# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
276# Fortran. In the later case the parser tries to guess whether the code is fixed
277# or free formatted code, this is the default for Fortran type files), VHDL. For
278# instance to make doxygen treat .inc files as Fortran files (default is PHP),
279# and .f files as C (default is Fortran), use: inc=Fortran f=C.
280#
281# Note For files without extension you can use no_extension as a placeholder.
282#
283# Note that for custom extensions you also need to set FILE_PATTERNS otherwise
284# the files are not read by doxygen.
285
286EXTENSION_MAPPING =
287
288# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
289# according to the Markdown format, which allows for more readable
290# documentation. See http://daringfireball.net/projects/markdown/ for details.
291# The output of markdown processing is further processed by doxygen, so you can
292# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
293# case of backward compatibilities issues.
294# The default value is: YES.
295
296MARKDOWN_SUPPORT = YES
297
298# When enabled doxygen tries to link words that correspond to documented
299# classes, or namespaces to their corresponding documentation. Such a link can
300# be prevented in individual cases by by putting a % sign in front of the word
301# or globally by setting AUTOLINK_SUPPORT to NO.
302# The default value is: YES.
303
304AUTOLINK_SUPPORT = YES
305
306# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
307# to include (a tag file for) the STL sources as input, then you should set this
308# tag to YES in order to let doxygen match functions declarations and
309# definitions whose arguments contain STL classes (e.g. func(std::string);
310# versus func(std::string) {}). This also make the inheritance and collaboration
311# diagrams that involve STL classes more complete and accurate.
312# The default value is: NO.
313
314BUILTIN_STL_SUPPORT = YES
315
316# If you use Microsoft's C++/CLI language, you should set this option to YES to
317# enable parsing support.
318# The default value is: NO.
319
320CPP_CLI_SUPPORT = NO
321
322# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
323# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
324# will parse them like normal C++ but will assume all classes use public instead
325# of private inheritance when no explicit protection keyword is present.
326# The default value is: NO.
327
328SIP_SUPPORT = NO
329
330# For Microsoft's IDL there are propget and propput attributes to indicate
331# getter and setter methods for a property. Setting this option to YES will make
332# doxygen to replace the get and set methods by a property in the documentation.
333# This will only work if the methods are indeed getting or setting a simple
334# type. If this is not the case, or you want to show the methods anyway, you
335# should set this option to NO.
336# The default value is: YES.
337
338IDL_PROPERTY_SUPPORT = YES
339
340# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
341# tag is set to YES, then doxygen will reuse the documentation of the first
342# member in the group (if any) for the other members of the group. By default
343# all members of a group must be documented explicitly.
344# The default value is: NO.
345
346DISTRIBUTE_GROUP_DOC = NO
347
348# Set the SUBGROUPING tag to YES to allow class member groups of the same type
349# (for instance a group of public functions) to be put as a subgroup of that
350# type (e.g. under the Public Functions section). Set it to NO to prevent
351# subgrouping. Alternatively, this can be done per class using the
352# \nosubgrouping command.
353# The default value is: YES.
354
355SUBGROUPING = YES
356
357# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
358# are shown inside the group in which they are included (e.g. using \ingroup)
359# instead of on a separate page (for HTML and Man pages) or section (for LaTeX
360# and RTF).
361#
362# Note that this feature does not work in combination with
363# SEPARATE_MEMBER_PAGES.
364# The default value is: NO.
365
366INLINE_GROUPED_CLASSES = NO
367
368# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
369# with only public data fields or simple typedef fields will be shown inline in
370# the documentation of the scope in which they are defined (i.e. file,
371# namespace, or group documentation), provided this scope is documented. If set
372# to NO, structs, classes, and unions are shown on a separate page (for HTML and
373# Man pages) or section (for LaTeX and RTF).
374# The default value is: NO.
375
376INLINE_SIMPLE_STRUCTS = NO
377
378# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
379# enum is documented as struct, union, or enum with the name of the typedef. So
380# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
381# with name TypeT. When disabled the typedef will appear as a member of a file,
382# namespace, or class. And the struct will be named TypeS. This can typically be
383# useful for C code in case the coding convention dictates that all compound
384# types are typedef'ed and only the typedef is referenced, never the tag name.
385# The default value is: NO.
386
387TYPEDEF_HIDES_STRUCT = NO
388
389# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
390# cache is used to resolve symbols given their name and scope. Since this can be
391# an expensive process and often the same symbol appears multiple times in the
392# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
393# doxygen will become slower. If the cache is too large, memory is wasted. The
394# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
395# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
396# symbols. At the end of a run doxygen will report the cache usage and suggest
397# the optimal cache size from a speed point of view.
398# Minimum value: 0, maximum value: 9, default value: 0.
399
400LOOKUP_CACHE_SIZE = 0
401
402#---------------------------------------------------------------------------
403# Build related configuration options
404#---------------------------------------------------------------------------
405
406# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
407# documentation are documented, even if no documentation was available. Private
408# class members and static file members will be hidden unless the
409# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
410# Note: This will also disable the warnings about undocumented members that are
411# normally produced when WARNINGS is set to YES.
412# The default value is: NO.
413
414EXTRACT_ALL = YES
415
416# If the EXTRACT_PRIVATE tag is set to YES all private members of a class will
417# be included in the documentation.
418# The default value is: NO.
419
420EXTRACT_PRIVATE = @EXTRACT_PRIVATE@
421
422# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal
423# scope will be included in the documentation.
424# The default value is: NO.
425
426EXTRACT_PACKAGE = NO
427
428# If the EXTRACT_STATIC tag is set to YES all static members of a file will be
429# included in the documentation.
430# The default value is: NO.
431
432EXTRACT_STATIC = YES
433
434# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined
435# locally in source files will be included in the documentation. If set to NO
436# only classes defined in header files are included. Does not have any effect
437# for Java sources.
438# The default value is: YES.
439
440EXTRACT_LOCAL_CLASSES = YES
441
442# This flag is only useful for Objective-C code. When set to YES local methods,
443# which are defined in the implementation section but not in the interface are
444# included in the documentation. If set to NO only methods in the interface are
445# included.
446# The default value is: NO.
447
448EXTRACT_LOCAL_METHODS = NO
449
450# If this flag is set to YES, the members of anonymous namespaces will be
451# extracted and appear in the documentation as a namespace called
452# 'anonymous_namespace{file}', where file will be replaced with the base name of
453# the file that contains the anonymous namespace. By default anonymous namespace
454# are hidden.
455# The default value is: NO.
456
457EXTRACT_ANON_NSPACES = NO
458
459# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
460# undocumented members inside documented classes or files. If set to NO these
461# members will be included in the various overviews, but no documentation
462# section is generated. This option has no effect if EXTRACT_ALL is enabled.
463# The default value is: NO.
464
465HIDE_UNDOC_MEMBERS = NO
466
467# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
468# undocumented classes that are normally visible in the class hierarchy. If set
469# to NO these classes will be included in the various overviews. This option has
470# no effect if EXTRACT_ALL is enabled.
471# The default value is: NO.
472
473HIDE_UNDOC_CLASSES = NO
474
475# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
476# (class|struct|union) declarations. If set to NO these declarations will be
477# included in the documentation.
478# The default value is: NO.
479
480HIDE_FRIEND_COMPOUNDS = YES
481
482# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
483# documentation blocks found inside the body of a function. If set to NO these
484# blocks will be appended to the function's detailed documentation block.
485# The default value is: NO.
486
487HIDE_IN_BODY_DOCS = NO
488
489# The INTERNAL_DOCS tag determines if documentation that is typed after a
490# \internal command is included. If the tag is set to NO then the documentation
491# will be excluded. Set it to YES to include the internal documentation.
492# The default value is: NO.
493
494INTERNAL_DOCS = @INTERNAL_DOCS@
495
496# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
497# names in lower-case letters. If set to YES upper-case letters are also
498# allowed. This is useful if you have classes or files whose names only differ
499# in case and if your file system supports case sensitive file names. Windows
500# and Mac users are advised to set this option to NO.
501# The default value is: system dependent.
502
503CASE_SENSE_NAMES = YES
504
505# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
506# their full class and namespace scopes in the documentation. If set to YES the
507# scope will be hidden.
508# The default value is: NO.
509
510HIDE_SCOPE_NAMES = NO
511
512# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
513# the files that are included by a file in the documentation of that file.
514# The default value is: YES.
515
516SHOW_INCLUDE_FILES = YES
517
518# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
519# grouped member an include statement to the documentation, telling the reader
520# which file to include in order to use the member.
521# The default value is: NO.
522
523SHOW_GROUPED_MEMB_INC = NO
524
525# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
526# files with double quotes in the documentation rather than with sharp brackets.
527# The default value is: NO.
528
529FORCE_LOCAL_INCLUDES = NO
530
531# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
532# documentation for inline members.
533# The default value is: YES.
534
535INLINE_INFO = YES
536
537# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
538# (detailed) documentation of file and class members alphabetically by member
539# name. If set to NO the members will appear in declaration order.
540# The default value is: YES.
541
542SORT_MEMBER_DOCS = YES
543
544# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
545# descriptions of file, namespace and class members alphabetically by member
546# name. If set to NO the members will appear in declaration order. Note that
547# this will also influence the order of the classes in the class list.
548# The default value is: NO.
549
550SORT_BRIEF_DOCS = YES
551
552# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
553# (brief and detailed) documentation of class members so that constructors and
554# destructors are listed first. If set to NO the constructors will appear in the
555# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
556# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
557# member documentation.
558# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
559# detailed member documentation.
560# The default value is: NO.
561
562SORT_MEMBERS_CTORS_1ST = YES
563
564# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
565# of group names into alphabetical order. If set to NO the group names will
566# appear in their defined order.
567# The default value is: NO.
568
569SORT_GROUP_NAMES = NO
570
571# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
572# fully-qualified names, including namespaces. If set to NO, the class list will
573# be sorted only by class name, not including the namespace part.
574# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
575# Note: This option applies only to the class list, not to the alphabetical
576# list.
577# The default value is: NO.
578
579SORT_BY_SCOPE_NAME = NO
580
581# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
582# type resolution of all parameters of a function it will reject a match between
583# the prototype and the implementation of a member function even if there is
584# only one candidate or it is obvious which candidate to choose by doing a
585# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
586# accept a match between prototype and implementation in such cases.
587# The default value is: NO.
588
589STRICT_PROTO_MATCHING = NO
590
591# The GENERATE_TODOLIST tag can be used to enable ( YES) or disable ( NO) the
592# todo list. This list is created by putting \todo commands in the
593# documentation.
594# The default value is: YES.
595
596GENERATE_TODOLIST = YES
597
598# The GENERATE_TESTLIST tag can be used to enable ( YES) or disable ( NO) the
599# test list. This list is created by putting \test commands in the
600# documentation.
601# The default value is: YES.
602
603GENERATE_TESTLIST = YES
604
605# The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug
606# list. This list is created by putting \bug commands in the documentation.
607# The default value is: YES.
608
609GENERATE_BUGLIST = YES
610
611# The GENERATE_DEPRECATEDLIST tag can be used to enable ( YES) or disable ( NO)
612# the deprecated list. This list is created by putting \deprecated commands in
613# the documentation.
614# The default value is: YES.
615
616GENERATE_DEPRECATEDLIST= YES
617
618# The ENABLED_SECTIONS tag can be used to enable conditional documentation
619# sections, marked by \if <section_label> ... \endif and \cond <section_label>
620# ... \endcond blocks.
621
622ENABLED_SECTIONS =
623
624# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
625# initial value of a variable or macro / define can have for it to appear in the
626# documentation. If the initializer consists of more lines than specified here
627# it will be hidden. Use a value of 0 to hide initializers completely. The
628# appearance of the value of individual variables and macros / defines can be
629# controlled using \showinitializer or \hideinitializer command in the
630# documentation regardless of this setting.
631# Minimum value: 0, maximum value: 10000, default value: 30.
632
633MAX_INITIALIZER_LINES = 30
634
635# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
636# the bottom of the documentation of classes and structs. If set to YES the list
637# will mention the files that were used to generate the documentation.
638# The default value is: YES.
639
640SHOW_USED_FILES = YES
641
642# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
643# will remove the Files entry from the Quick Index and from the Folder Tree View
644# (if specified).
645# The default value is: YES.
646
647SHOW_FILES = YES
648
649# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
650# page. This will remove the Namespaces entry from the Quick Index and from the
651# Folder Tree View (if specified).
652# The default value is: YES.
653
654SHOW_NAMESPACES = YES
655
656# The FILE_VERSION_FILTER tag can be used to specify a program or script that
657# doxygen should invoke to get the current version for each file (typically from
658# the version control system). Doxygen will invoke the program by executing (via
659# popen()) the command command input-file, where command is the value of the
660# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
661# by doxygen. Whatever the program writes to standard output is used as the file
662# version. For an example see the documentation.
663
664FILE_VERSION_FILTER =
665
666# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
667# by doxygen. The layout file controls the global structure of the generated
668# output files in an output format independent way. To create the layout file
669# that represents doxygen's defaults, run doxygen with the -l option. You can
670# optionally specify a file name after the option, if omitted DoxygenLayout.xml
671# will be used as the name of the layout file.
672#
673# Note that if you run doxygen from a directory containing a file called
674# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
675# tag is left empty.
676
677LAYOUT_FILE =
678
679# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
680# the reference definitions. This must be a list of .bib files. The .bib
681# extension is automatically appended if omitted. This requires the bibtex tool
682# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
683# For LaTeX the style of the bibliography can be controlled using
684# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
685# search path. Do not use file names with spaces, bibtex cannot handle them. See
686# also \cite for info how to create references.
687
688CITE_BIB_FILES =
689
690#---------------------------------------------------------------------------
691# Configuration options related to warning and progress messages
692#---------------------------------------------------------------------------
693
694# The QUIET tag can be used to turn on/off the messages that are generated to
695# standard output by doxygen. If QUIET is set to YES this implies that the
696# messages are off.
697# The default value is: NO.
698
699QUIET = NO
700
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: