struct CCL::IComponent

Overview

Basic plug-in component interface. More…

#include <icomponent.h>

struct IComponent: public CCL::IUnknown
{
    // methods

    virtual tresult CCL_API initialize (IUnknown* context = nullptr) = 0;
    virtual tresult CCL_API terminate () = 0;
    virtual tbool CCL_API canTerminate () const = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Basic plug-in component interface.

Methods

virtual tresult CCL_API initialize (IUnknown* context = nullptr) = 0

Initialize plug-in component within specified context.

virtual tresult CCL_API terminate () = 0

Terminate plug-in component.

virtual tbool CCL_API canTerminate () const = 0

Check if plug-in component can be terminated.