Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_SocketProxyOperation.h
| Show All 10 Lines | |||||
| * | * | ||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * Copyright 2011, Blender Foundation. | * Copyright 2011, Blender Foundation. | ||||
| */ | */ | ||||
| #ifndef __COM_SOCKETPROXYOPERATION_H__ | #pragma once | ||||
| #define __COM_SOCKETPROXYOPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| class SocketProxyOperation : public NodeOperation { | class SocketProxyOperation : public NodeOperation { | ||||
| public: | public: | ||||
| SocketProxyOperation(DataType type, bool use_conversion); | SocketProxyOperation(DataType type, bool use_conversion); | ||||
| bool isProxyOperation() const | bool isProxyOperation() const | ||||
| Show All 12 Lines | public: | ||||
| void setUseConversion(bool use_conversion) | void setUseConversion(bool use_conversion) | ||||
| { | { | ||||
| m_use_conversion = use_conversion; | m_use_conversion = use_conversion; | ||||
| } | } | ||||
| private: | private: | ||||
| bool m_use_conversion; | bool m_use_conversion; | ||||
| }; | }; | ||||
| #endif | |||||