# HG changeset patch # User Shinji KONO # Date 1253832009 -32400 # Node ID 9b06420a940cbb8e0c4bcccbae6cfcfc3ed9e733 # Parent aa1d0b655aa34f82861927c8d7c56400d1cb826f fix... diff -r aa1d0b655aa3 -r 9b06420a940c TaskManager/Test/test_render/Application.cc --- a/TaskManager/Test/test_render/Application.cc Fri Sep 25 07:29:15 2009 +0900 +++ b/TaskManager/Test/test_render/Application.cc Fri Sep 25 07:40:09 2009 +0900 @@ -75,3 +75,11 @@ return NULL; } + +void Application::init(TaskManager *manager, int w, int h) { +} + +int Application::move_task_id() { + return 0; +} + diff -r aa1d0b655aa3 -r 9b06420a940c TaskManager/Test/test_render/Application.h --- a/TaskManager/Test/test_render/Application.h Fri Sep 25 07:29:15 2009 +0900 +++ b/TaskManager/Test/test_render/Application.h Fri Sep 25 07:40:09 2009 +0900 @@ -23,9 +23,9 @@ //SceneGraphPtr scenegraph_connector(PropertyPtr p,SceneGraphPtr s); SceneGraphPtr scenegraph_factory(void *p, int size); SceneGraphPtr scenegraph_connector(void *p, int size, SceneGraphPtr s, SceneGraphPtr sg_available_list); - void init(TaskManager *manager, int w, int h); + virtual void init(TaskManager *manager, int w, int h) ; - virtual int move_task_id(); + virtual int move_task_id() ; }; diff -r aa1d0b655aa3 -r 9b06420a940c TaskManager/Test/test_render/Application/Chain.h --- a/TaskManager/Test/test_render/Application/Chain.h Fri Sep 25 07:29:15 2009 +0900 +++ b/TaskManager/Test/test_render/Application/Chain.h Fri Sep 25 07:40:09 2009 +0900 @@ -19,7 +19,7 @@ SceneGraphPtr scenegraph_connector(void *p, int size, SceneGraphPtr s, SceneGraphPtr sg_available_list); void init(TaskManager *manager, int w, int h); - int move_task_id(); + virtual int move_task_id(); int move_task_id_; void init_chain_vars(ChainPropertyPtr cv); diff -r aa1d0b655aa3 -r 9b06420a940c TaskManager/Test/test_render/Application/chain.cc --- a/TaskManager/Test/test_render/Application/chain.cc Fri Sep 25 07:29:15 2009 +0900 +++ b/TaskManager/Test/test_render/Application/chain.cc Fri Sep 25 07:40:09 2009 +0900 @@ -23,15 +23,14 @@ SceneGraphPtr scenegraph_factory(void *p, int size){ return 0; } + SceneGraphPtr scenegraph_connector(void *p, int size, SceneGraphPtr s, SceneGraphPtr sg_available_list){ return 0; } -void init(TaskManager *manager, int w, int h){ - return; -} -int move_task_id(){ - return 0; +int +Chain::move_task_id(){ + return move_task_id_; } diff -r aa1d0b655aa3 -r 9b06420a940c TaskManager/Test/test_render/Application/chain_old.cc --- a/TaskManager/Test/test_render/Application/chain_old.cc Fri Sep 25 07:29:15 2009 +0900 +++ b/TaskManager/Test/test_render/Application/chain_old.cc Fri Sep 25 07:40:09 2009 +0900 @@ -1,4 +1,4 @@ -#include +#include #include #include "SceneGraphRoot.h" #include "SGList.h"