Revision 482adb6d server/include/RSB/AnimationCallbackWrapper.h
server/include/RSB/AnimationCallbackWrapper.h | ||
---|---|---|
36 | 36 |
AnimationCallbackWrapper(Middleware* mw) : CallbackWrapper(mw) { |
37 | 37 |
} |
38 | 38 |
|
39 |
void call(const std::string& method_name, boost::shared_ptr<rst::animation::HeadAnimation> input) {
|
|
39 |
void call(const std::string& method_name, std::shared_ptr<rst::animation::HeadAnimation> input) {
|
|
40 | 40 |
printf("> incomint animation (method = %s)\n", method_name.c_str()); |
41 | 41 |
|
42 | 42 |
// fetch animation passed by rsb: |
43 | 43 |
rst::animation::HeadAnimation* rst_ani = input.get(); |
44 |
boost::shared_ptr<Animation> ani(new Animation());
|
|
44 |
std::shared_ptr<Animation> ani(new Animation());
|
|
45 | 45 |
|
46 | 46 |
switch ((int)rst_ani->animation()) { |
47 | 47 |
case (rst_ani->IDLE): |
Also available in: Unified diff