Seaside/SpyCustom/localflexcontroller.h
2021-06-16 16:11:47 +03:00

21 lines
770 B
C

#ifndef LOCALFLEXCONTROLLER_H
#define LOCALFLEXCONTROLLER_H
#ifdef _WIN32
#pragma once
#endif
#include "platform.h"
enum LocalFlexController_t
{
DUMMY_FLEX_CONTROLLER = 0x7fffffff
};
inline LocalFlexController_t& operator++(LocalFlexController_t& a) { return a = LocalFlexController_t(int(a) + 1); }
inline LocalFlexController_t& operator--(LocalFlexController_t& a) { return a = LocalFlexController_t(int(a) - 1); }
inline LocalFlexController_t operator++(LocalFlexController_t& a, int) { LocalFlexController_t t = a; a = LocalFlexController_t(int(a) + 1); return t; }
inline LocalFlexController_t operator--(LocalFlexController_t& a, int) { LocalFlexController_t t = a; a = LocalFlexController_t(int(a) - 1); return t; }
#endif