//Copyright 2020 Siemens Digital Industries Software
//==================================================
//Copyright $2020.
//Siemens Product Lifecycle Management Software Inc.
//All Rights Reserved.
//==================================================
//Copyright 2020 Siemens Digital Industries Software

/*==================================================================================================
File description:
    This file contains the declaration for the Business Object, ChangeItemDelegate
    Filename:   ChangeItemDelegate.hxx
    Module:     cm
    @BMIDE autogenerated
==================================================================================================*/

#ifndef TEAMCENTER__CHANGEITEMDELEGATE_HXX
#define TEAMCENTER__CHANGEITEMDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <cm/ChangeItem.hxx>

#include <cm/libcm_exports.h>

namespace Teamcenter
{
    class ChangeItemDelegate;
}
namespace Teamcenter
{
    class ChangeItemImpl;
}
namespace Teamcenter
{
    class ChangeItem;
}
namespace Teamcenter
{
    class ChangeItemGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


class  CM_API Teamcenter_alias::ChangeItemDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

    //  Method to get the ChangeItemDelegate instance
    static ChangeItemDelegate&  getInstance();

    //  Method to create the ChangeItemImpl pointer
    static ChangeItemImpl*  createImpl( ChangeItem&  ifObj );

    //  Method to delete the ChangeItemImpl pointer
    static void deleteImpl( ChangeItemImpl*  impl );



protected:
    //  Pointer to the instance
    static ChangeItemDelegate*  m_pInstance;

    ChangeItemDelegate();
    virtual ~ChangeItemDelegate();
    static void setInstance( ChangeItemDelegate*  instance );


private:
    friend class  ::Teamcenter::ChangeItemGenImpl;

};

#include <cm/libcm_undef.h>
#endif  //  TEAMCENTER__CHANGEITEMDELEGATE_HXX
