forked from indilib/indi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: inline methods that use unlinked functions (indilib#1312)
- Loading branch information
1 parent
c9efe69
commit f626bcf
Showing
3 changed files
with
135 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/******************************************************************************* | ||
Copyright(c) 2011 Jasem Mutlaq. All rights reserved. | ||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Library General Public | ||
License version 2 as published by the Free Software Foundation. | ||
This library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Library General Public License for more details. | ||
You should have received a copy of the GNU Library General Public License | ||
along with this library; see the file COPYING.LIB. If not, write to | ||
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
Boston, MA 02110-1301, USA. | ||
*******************************************************************************/ | ||
|
||
#pragma once | ||
|
||
#include "indibase.h" | ||
|
||
namespace INDI | ||
{ | ||
|
||
class BaseDevice; | ||
class PropertyPrivate | ||
{ | ||
public: | ||
void *property = nullptr; | ||
BaseDevice *baseDevice = nullptr; | ||
INDI_PROPERTY_TYPE type = INDI_UNKNOWN; | ||
bool registered = false; | ||
bool dynamic = false; | ||
|
||
PropertyPrivate(void *property, INDI_PROPERTY_TYPE type); | ||
PropertyPrivate(ITextVectorProperty *property); | ||
PropertyPrivate(INumberVectorProperty *property); | ||
PropertyPrivate(ISwitchVectorProperty *property); | ||
PropertyPrivate(ILightVectorProperty *property); | ||
PropertyPrivate(IBLOBVectorProperty *property); | ||
|
||
virtual ~PropertyPrivate(); | ||
}; | ||
|
||
} |