/***************************************************************************
 *                          Zanoza Modeler v2.x                            *
 *      This is unpublished propietary source code of Zanoza Software.     *
 *      The copyright notice does not evidence any actual or intended      *
 *                    publication of such source code.                     *
 *                                                                         *
 *                Copyright (c) 2002-2003 Zanoza Software.                 *
 *                                                                         *
 *                        All rights reserved.                             *
 ***************************************************************************
 *--------------------------------------------------------------------------
 * @author:   Oleg M.
 *--------------------------------------------------------------------------
 * @purpose:  ZModeler 2.x core::events helpers
 *--------------------------------------------------------------------------
 * @histroy: 05.06.2003. Created
 */
#ifndef coreeventshelper_h_included
#define coreeventshelper_h_included

#include <zmodeler.h>
#include <core/events/eventsTypes.h>
#include <scene/INode.h>

namespace core
{
  namespace events
  {
    //
    // helper functions for raising events:
    //
    DLL_LINKAGE ZRESULT ZAPICALL sceneNodeAdd(scene::INode* pNode);
    DLL_LINKAGE ZRESULT ZAPICALL sceneNodeDrop(scene::INode* pNode);
    DLL_LINKAGE ZRESULT ZAPICALL sceneNodeChange(scene::INode* pNode, DWORD dwBits); //node's content changed
    DLL_LINKAGE ZRESULT ZAPICALL sceneNodeLink(scene::INode* pChild, scene::INode* pNewParent, scene::INode* pOldParent=NULL);
    DLL_LINKAGE ZRESULT ZAPICALL sceneNodeActivation(scene::INode* pNode);
    DLL_LINKAGE ZRESULT ZAPICALL sceneNodeSelection(scene::INode* pNode);
    DLL_LINKAGE ZRESULT ZAPICALL sceneNodeVisibility(scene::INode* pNode);
  };//events
};//core


#endif //coreeventshelper_h_included



