00001 00002 #include "Teddy/Signals/Functor.h" 00003 /*using namespace Teddy::Signals; 00004 00005 00006 class MyClass { 00007 public: 00008 MyClass(){} 00009 int main( int argc, char **argv ){ 00010 return 0; 00011 } 00012 }; 00013 00014 00015 int main( int argc, char **argv ){ 00016 MyClass *my_object = new MyClass(); 00017 Holder2<int, int, char**> holder; 00018 00019 holder.functor = functor( my_object, &MyClass::main ); 00020 00021 return holder( argc, argv ); 00022 } 00023 00024 */