1
0

imggen.cpp 836 B

1234567891011121314151617181920212223242526272829
  1. #include "precomp.h"
  2. #include "imggen.h"
  3. #include "solid.h"
  4. #include "grad.h"
  5. #include "osedge.h"
  6. #include "poly.h"
  7. #include "shadowwnd.h"
  8. #include "../studio/services/servicei.h"
  9. static WACNAME wac;
  10. WAComponentClient *the = &wac;
  11. // {9C9CB15E-2904-4df2-B8CE-FFBC6CD230DC}
  12. static const GUID guid =
  13. { 0x9c9cb15e, 0x2904, 0x4df2, { 0xb8, 0xce, 0xff, 0xbc, 0x6c, 0xd2, 0x30, 0xdc } };
  14. WACNAME::WACNAME() {
  15. registerService(new waServiceFactoryTSingle<svc_imageGenerator, SolidImage>);
  16. registerService(new waServiceFactoryTSingle<svc_imageGenerator, GradientImage>);
  17. registerService(new waServiceFactoryTSingle<svc_imageGenerator, OsEdgeImage>);
  18. registerService(new waServiceFactoryTSingle<svc_imageGenerator, PolyImage>);
  19. registerService(new XuiObjectCreator<XuiShadowWndSvc>);
  20. }
  21. GUID WACNAME::getGUID() {
  22. return guid;
  23. }