groupwndcreate.h 728 B

12345678910111213141516171819202122232425
  1. #ifndef __WNDCREATE_H
  2. #define __WNDCREATE_H
  3. #include <api/service/svcs/svc_wndcreate.h>
  4. #include <bfc/ptrlist.h>
  5. class GroupWndCreateSvc : public svc_windowCreateI
  6. {
  7. public:
  8. static const char *getServiceName() { return "WindowType to Group window creator"; }
  9. virtual int testType(const wchar_t *windowtype) { return 1; }
  10. // virtual int testGuid(GUID g) ;
  11. // virtual ifc_window *createWindowByGuid(GUID g, ifc_window *parent);
  12. virtual ifc_window *createWindowOfType(const wchar_t *windowtype, ifc_window *parent, int n);
  13. virtual int destroyWindow(ifc_window *w);
  14. static int num_group_list;
  15. private:
  16. ifc_window *createGuiTreeItem(SkinItem *item, ifc_window *parent);
  17. PtrList<ifc_window> group_list;
  18. };
  19. #endif