xuisendparams.h 1014 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef __SENDPARAMS_H
  2. #define __SENDPARAMS_H
  3. #include <api/skin/objectactuator.h>
  4. #include <bfc/pair.h>
  5. #define SENDPARAMS_PARENT ObjectActuator
  6. extern const wchar_t SendParamsXuiObjectStr[];
  7. extern char SendParamsXuiSvcName[];
  8. // -----------------------------------------------------------------------
  9. // Your wnd object class
  10. class SendParams: public SENDPARAMS_PARENT {
  11. public:
  12. SendParams();
  13. virtual ~SendParams();
  14. virtual int setXmlParam(const wchar_t *param, const wchar_t *value);
  15. virtual void actuator_onPerform(GuiObject *target);
  16. virtual const wchar_t *getActuatorTag() { return SendParamsXuiObjectStr; } // for error msgs purposes
  17. private:
  18. int myxuihandle;
  19. PtrList< Pair<StringW, StringW> > pastlist;
  20. };
  21. // -----------------------------------------------------------------------
  22. // This defines the svc_xuiObject that exposes your wnd object
  23. class SendParamsXuiSvc : public XuiObjectSvc<SendParams, SendParamsXuiObjectStr, SendParamsXuiSvcName> {};
  24. #endif