/tutorial/plugin/mini_gtk/gtk_agent_launcher.e

http://github.com/tybor/Liberty · Specman e · 25 lines · 20 code · 5 blank · 0 comment · 0 complexity · 4dea874b4ad2d262b1b54ef930b3e8ef MD5 · raw file

  1. expanded class GTK_AGENT_LAUNCHER
  2. creation {} -- for Cecil
  3. make
  4. feature {}
  5. make is
  6. do
  7. end
  8. launch_routine (routine: ROUTINE[TUPLE]) is
  9. do
  10. routine.call([])
  11. end
  12. callback_agent: POINTER is
  13. external "plug_in"
  14. alias "{
  15. location: "."
  16. module_name: "plugin"
  17. feature_name: "G_CALLBACK(callback_agent)"
  18. }"
  19. end
  20. end -- class GTK_AGENT_LAUNCHER