genesis-3d_engine/Engine/app/appframework/appframeworkprotocol.h
zhongdaohuan 6e8fbca745 genesis-3d engine version 1.3.
match the genesis editor version 1.3.0.653.
2014-05-05 14:50:33 +08:00

58 lines
1.5 KiB
C++

#pragma once
//------------------------------------------------------------------------------
/**
This file was generated with Nebula3's idlc compiler tool.
DO NOT EDIT
*/
#include "messaging/message.h"
#include "util/variant.h"
#include "appframework/component.h"
//------------------------------------------------------------------------------
namespace App
{
//------------------------------------------------------------------------------
class AttachComponentMsg : public Messaging::Message
{
__DeclareClass(AttachComponentMsg);
__DeclareMsgId;
public:
AttachComponentMsg()
{ };
public:
void SetObject(const GPtr<App::Component>& val)
{
n_assert(!this->handled);
this->object = val;
};
const GPtr<App::Component>& GetObject() const
{
return this->object;
};
private:
GPtr<App::Component> object;
};
//------------------------------------------------------------------------------
class DeAttachComponentMsg : public Messaging::Message
{
__DeclareClass(DeAttachComponentMsg);
__DeclareMsgId;
public:
DeAttachComponentMsg()
{ };
public:
void SetObject(const GPtr<App::Component>& val)
{
n_assert(!this->handled);
this->object = val;
};
const GPtr<App::Component>& GetObject() const
{
return this->object;
};
private:
GPtr<App::Component> object;
};
} // namespace App
//------------------------------------------------------------------------------