Sha256: 6bb0fe82062ec4af005e32a8ef34e13f6e2ebebd17616299a1a83520883871b9
Contents?: true
Size: 608 Bytes
Versions: 28
Compression:
Stored size: 608 Bytes
Contents
#ifndef __VIBRATE__H__ #define __VIBRATE__H__ #include <logging/RhoLog.h> #include <common/RhoThread.h> using namespace rho; using namespace rho::common; class CVibrate : public CRhoThread { DEFINE_LOGCLASS; public: static CVibrate& getCVibrate(); void toggle (); void toggle (int seconds); void untoggle (); private: CVibrate (); ~CVibrate (); virtual void run(); int m_nDuration; bool m_bToggled; static void createCVibrate(); static CVibrate *m_pInstance; static CMutex m_mxLocker; }; #endif // __VIBRATE__H__
Version data entries
28 entries across 28 versions & 1 rubygems