seqpreamp.h 613 B

12345678910111213141516171819202122232425262728
  1. #ifndef _SEQPREAMP_H
  2. #define _SEQPREAMP_H
  3. #include "pslider.h"
  4. #include <api/syscb/callbacks/corecbi.h>
  5. #define SEQPREAMP_PARENT PSliderWnd
  6. #define SEQPREAMP_XMLPARENT PSliderWnd
  7. class SEQPreamp : public SEQPREAMP_PARENT, public CoreCallbackI {
  8. public:
  9. SEQPreamp();
  10. virtual ~SEQPreamp();
  11. virtual int onInit();
  12. protected:
  13. virtual int onSetPosition();
  14. virtual int corecb_onEQPreampChange(int newval);
  15. int discard_next_event;
  16. };
  17. extern const wchar_t eqPreAmpXuiStr[];
  18. extern char eqPreAmpXuiSvcName[];
  19. class EqPreAmpXuiSvc : public XuiObjectSvc<SEQPreamp, eqPreAmpXuiStr, eqPreAmpXuiSvcName> {};
  20. #endif