Skip to content

Commit

Permalink
BaseDevice::getProperty as non-pointer result (indilib#1453)
Browse files Browse the repository at this point in the history
* BaseDevice::getProperty as non-pointer result.

* Remove 'const', use isLabelMatch function.

* Add const accessors.

* Remove const.

* Add INDI::Properties implementation.

* BaseDevice::getProperties as non-pointer result.

* Format document.

* Use isNameMatch function.

* Add erase method.

* Fix constructors.

* Add getTypeAsString method.

* Update Widget/Property API.
  • Loading branch information
pawel-soja authored May 13, 2021
1 parent 3a7ea5f commit 723ae45
Show file tree
Hide file tree
Showing 12 changed files with 668 additions and 278 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ SET(indiclient_CXX_SRC
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/basedevice.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/baseclient.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indiproperty.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indiproperties.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indipropertybasic.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indipropertytext.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indipropertynumber.cpp
Expand Down Expand Up @@ -255,6 +256,7 @@ SET(indiclientqt_CXX_SRC
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/basedevice.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/baseclientqt.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indiproperty.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indiproperties.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indipropertybasic.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indipropertytext.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indipropertynumber.cpp
Expand Down Expand Up @@ -428,6 +430,7 @@ SET(indidriver_CXX_SRC
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/basedevice.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/defaultdevice.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indiproperty.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indiproperties.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indipropertybasic.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indipropertytext.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indipropertynumber.cpp
Expand Down Expand Up @@ -1997,6 +2000,7 @@ if (INDI_BUILD_DRIVERS OR INDI_BUILD_CLIENT OR INDI_BUILD_QT5_CLIENT)
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/indifilterinterface.h
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/indirotatorinterface.h
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indiproperty.h
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indiproperties.h
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indipropertybasic.h
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indipropertytext.h
${CMAKE_CURRENT_SOURCE_DIR}/libs/indibase/property/indipropertynumber.h
Expand Down
Loading

0 comments on commit 723ae45

Please sign in to comment.