winamp/Src/Wasabi/api/script/objects/c_script/c_togglebutton.h

34 lines
623 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
/* This file was generated by Maki Compiler, do not edit manually */
#ifndef __C_TOGGLEBUTTON_H
#define __C_TOGGLEBUTTON_H
#include "c_button.h"
#define C_TOGGLEBUTTON_PARENT C_Button
class C_ToggleButton : public C_TOGGLEBUTTON_PARENT {
public:
C_ToggleButton(ScriptObject *object);
C_ToggleButton();
virtual ~C_ToggleButton();
virtual void C_hook(ScriptObject *o);
ScriptObject *getScriptObject();
virtual void onToggle(int (null));
virtual int getCurCfgVal();
private:
ScriptObject *obj;
int inited;
static int loaded;
static int ontoggle_id;
static int getcurcfgval_id;
};
#endif