1
0

servicelink.cpp 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #include <precomp.h>
  2. // these are pragmas to force a reference to objects that otherwise are entirely decoupled from the rest of the
  3. // program except for their static constructor code -- in this case, if the code is in a lib, the object gets
  4. // optimized out, and we definitly do not want that
  5. //
  6. // generally you want to add more of these pragmas for services declared through the BEGIN_SERVICES/END_SERVICES
  7. // macros which you want to link with
  8. // color themes list xui object
  9. #ifdef WASABI_COMPILE_COLORTHEMES
  10. #pragma comment(linker, "/include:__link_ColorThemesListXuiSvc")
  11. #endif
  12. // config script objects
  13. #ifdef WASABI_COMPILE_CONFIG
  14. #pragma comment(linker, "/include:__link_ConfigObjectSvc")
  15. #endif
  16. // minibrowser service
  17. #ifdef WASABI_WIDGETS_BROWSER
  18. #pragma comment(linker, "/include:__link_MbSvc")
  19. #endif
  20. // skinned tooltips
  21. #ifdef WASABI_WIDGETS_TOOLTIPS
  22. #pragma comment(linker, "/include:__link_GroupTipsSvc")
  23. #endif
  24. // freetype font renderer
  25. #ifdef WASABI_FONT_RENDERER_USE_FREETYPE
  26. //#pragma comment(linker, "/include:__link_FreeTypeFontRenderer_Svc")
  27. #endif
  28. // pldir svc
  29. #pragma comment(linker, "/include:__link_wa2PlDirObj_Svcs")
  30. // pleditor xuiobject
  31. #pragma comment(linker, "/include:__link_Wa2PleditXuiSvc")
  32. // song ticker xui object
  33. #pragma comment(linker, "/include:__link_wa2SongTicker_Svcs")
  34. // Winamp Config script object
  35. #pragma comment(linker, "/include:__link_WinampConfig_svcs")
  36. // progress grid xui object
  37. #ifdef WASABI_WIDGETS_MEDIASLIDERS
  38. #pragma comment(linker, "/include:__link_ProgressGridXuiSvc")
  39. #endif
  40. // gradient xui object
  41. #ifdef WASABI_WIDGETS_MEDIASLIDERS
  42. #pragma comment(linker, "/include:__link_GradientXuiSvc")
  43. #endif
  44. #pragma comment(linker, "/include:__link_GroupXFadeXuiSvc")
  45. #pragma comment(linker, "/include:__link_GradientGen_Svc")
  46. #pragma comment(linker, "/include:__link_OsEdgeGen_Svc")
  47. #pragma comment(linker, "/include:__link_PolyGen_Svc")
  48. #pragma comment(linker, "/include:__link_SolidGen_Svc")
  49. #pragma comment(linker, "/include:__link_ScriptCore_Svc")
  50. //#pragma comment(linker, "/include:__link_ColorEditor_Svc")