| 1 | /* |
| 2 | Copyright (C) 2021 by Pawel Soja <[email protected]> |
| 3 | |
| 4 | This library is free software; you can redistribute it and/or |
| 5 | modify it under the terms of the GNU Lesser General Public |
| 6 | License as published by the Free Software Foundation; either |
| 7 | version 2.1 of the License, or (at your option) any later version. |
| 8 | |
| 9 | This library is distributed in the hope that it will be useful, |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | Lesser General Public License for more details. |
| 13 | |
| 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | License along with this library; if not, write to the Free Software |
| 16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 17 | */ |
| 18 | |
| 19 | #pragma once |
| 20 | |
| 21 | #include "indipropertybasic.h"cxx . . $ `<file>/libs/indidevice/property/indipropertybasic.h`/ |
| 22 | |
| 23 | namespace INDIcxx . . $ INDI/ |
| 24 | { |
| 25 | |
| 26 | class PropertyTextPrivatecxx . . $ INDI/PropertyTextPrivate#; |
| 27 | class PropertyTextcxx . . $ INDI/PropertyText#: public INDIcxx . . $ INDI/::PropertyBasiccxx . . $ INDI/PropertyBasic#<ITextcxx . . $ IText#> |
| 28 | { |
| 29 | DECLARE_PRIVATEcxx . . $ `libs/indimacros.h:123:9`!(PropertyText) |
| 30 | public: |
| 31 | PropertyTextcxx . . $ INDI/PropertyText#PropertyText(2c44cd906ae4e829).(size_t count); |
| 32 | PropertyTextcxx . . $ INDI/PropertyText#PropertyText(95fcf7e2b6ae8125).(INDIcxx . . $ INDI/::Propertycxx . . $ INDI/Property# property); |
| 33 | ~cxx . . $ INDI/PropertyText#`~PropertyText`(49f6e7a06ebc5aa8).PropertyTextcxx . . $ INDI/PropertyText#(); |
| 34 | |
| 35 | public: |
| 36 | bool updatecxx . . $ INDI/PropertyText#update(5b09b1e2ea7f43ac).(const char * const texts[], const char * const names[], int n); |
| 37 | |
| 38 | void fillcxx . . $ INDI/PropertyText#fill(4e6711d7763a5573).( |
| 39 | const char *device, const char *name, const char *label, const char *group, |
| 40 | IPermcxx . . $ IPerm# permission, double timeout, IPStatecxx . . $ IPState# state |
| 41 | ); |
| 42 | }; |
| 43 | |
| 44 | } |