template class Core::Portable::ComponentViewController

Mix-in template to add ViewController interface to Component class.

#include <coreviewcontroller.h>

template <class T>
class ComponentViewController: public Core::Portable::ViewController
{
public:
    // methods

    virtual View* createView(CStringPtr type);
    virtual void* getObjectForView(CStringPtr name, CStringPtr _type);
};

Inherited Members

public:
    // typedefs

    typedef int32 TypeID;

    // methods

    virtual void* castTo(TypeID typeId) = 0;
    DECLARE_CORE_CLASS_('VCtl', ViewController);
    virtual View* createView(CStringPtr type) = 0;
    virtual void* getObjectForView(CStringPtr name, CStringPtr type) = 0;