widgets.h 567 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef __WIDGETS_H
  2. #define __WIDGETS_H
  3. #include <wasabicfg.h>
  4. #include <bfc/ptrlist.h>
  5. #include <api/syscb/callbacks/skincb.h>
  6. class waServiceFactoryI;
  7. #ifdef WASABI_COMPILE_STATSWND
  8. class StatsWnd;
  9. #endif
  10. class Widgets : public SkinCallbackI {
  11. public:
  12. Widgets();
  13. virtual ~Widgets();
  14. void registerService(waServiceFactoryI *f);
  15. int skincb_onBeforeLoadingElements();
  16. void loadResources();
  17. private:
  18. PtrList<waServiceFactoryI> factories;
  19. int count;
  20. #ifdef WASABI_COMPILE_STATSWND
  21. StatsWnd *statswnd;
  22. #endif
  23. };
  24. #endif