From 7862b2fa13c0437d9c17eae78e7b79a421dacf05 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 17 May 2012 22:55:28 +0000 Subject: style cleanup: compositor, pointer syntax, function brace placement, line length --- source/blender/compositor/intern/COM_Node.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'source/blender/compositor/intern/COM_Node.h') diff --git a/source/blender/compositor/intern/COM_Node.h b/source/blender/compositor/intern/COM_Node.h index 3706592a585..2666d0a6980 100644 --- a/source/blender/compositor/intern/COM_Node.h +++ b/source/blender/compositor/intern/COM_Node.h @@ -50,15 +50,15 @@ private: /** * @brief stores the reference to the SDNA bNode struct */ - bNode* editorNode; + bNode *editorNode; public: - Node(bNode* editorNode, bool create_sockets=true); + Node(bNode *editorNode, bool create_sockets=true); /** * @brief get the reference to the SDNA bNode struct */ - bNode* getbNode(); + bNode *getbNode(); /** * @brief convert node to operation @@ -68,31 +68,31 @@ public: * @param system the ExecutionSystem where the operations need to be added * @param context reference to the CompositorContext */ - virtual void convertToOperations(ExecutionSystem* system, CompositorContext * context) =0; + virtual void convertToOperations(ExecutionSystem *system, CompositorContext * context) =0; /** * this method adds a SetValueOperation as input of the input socket. * This can only be used from the convertToOperation method. all other usages are not allowed */ - void addSetValueOperation(ExecutionSystem *graph, InputSocket* inputsocket, int editorNodeInputSocketIndex); + void addSetValueOperation(ExecutionSystem *graph, InputSocket *inputsocket, int editorNodeInputSocketIndex); /** * this method adds a SetColorOperation as input of the input socket. * This can only be used from the convertToOperation method. all other usages are not allowed */ - void addSetColorOperation(ExecutionSystem *graph, InputSocket* inputsocket, int editorNodeInputSocketIndex); + void addSetColorOperation(ExecutionSystem *graph, InputSocket *inputsocket, int editorNodeInputSocketIndex); /** * this method adds a SetVectorOperation as input of the input socket. * This can only be used from the convertToOperation method. all other usages are not allowed */ - void addSetVectorOperation(ExecutionSystem *graph, InputSocket* inputsocket, int editorNodeInputSocketIndex); + void addSetVectorOperation(ExecutionSystem *graph, InputSocket *inputsocket, int editorNodeInputSocketIndex); /** * Creates a new link between an outputSocket and inputSocket and registrates the link to the graph * @return the new created link */ - SocketConnection* addLink(ExecutionSystem *graph, OutputSocket* outputSocket, InputSocket* inputsocket); + SocketConnection *addLink(ExecutionSystem *graph, OutputSocket *outputSocket, InputSocket *inputsocket); /** * is this node a group node. @@ -108,23 +108,23 @@ public: * * @param socket */ - InputSocket* findInputSocketBybNodeSocket(bNodeSocket* socket); + InputSocket *findInputSocketBybNodeSocket(bNodeSocket *socket); /** * @brief find the OutputSocket by bNodeSocket * * @param socket */ - OutputSocket* findOutputSocketBybNodeSocket(bNodeSocket* socket); + OutputSocket *findOutputSocketBybNodeSocket(bNodeSocket *socket); protected: Node(); - void addPreviewOperation(ExecutionSystem *system, InputSocket* inputSocket, int priority); - void addPreviewOperation(ExecutionSystem *system, OutputSocket* inputSocket, int priority); + void addPreviewOperation(ExecutionSystem *system, InputSocket *inputSocket, int priority); + void addPreviewOperation(ExecutionSystem *system, OutputSocket *inputSocket, int priority); - bNodeSocket* getEditorInputSocket(int editorNodeInputSocketIndex); - bNodeSocket* getEditorOutputSocket(int editorNodeOutputSocketIndex); + bNodeSocket *getEditorInputSocket(int editorNodeInputSocketIndex); + bNodeSocket *getEditorOutputSocket(int editorNodeOutputSocketIndex); private: }; -- cgit v1.2.3