struct CCL::Scripting::IScript

Overview

Script interface. More…

#include <iscriptengine.h>

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

    virtual UrlRef CCL_API getPath () const = 0;
    virtual StringRef CCL_API getPackageID () const = 0;
    virtual tbool CCL_API getCode (CodePiece& codePiece) 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

Script interface.

Methods

virtual UrlRef CCL_API getPath () const = 0

Get path to script file.

virtual StringRef CCL_API getPackageID () const = 0

Get script package identifier (optional).

virtual tbool CCL_API getCode (CodePiece& codePiece) const = 0

Get plain script code.