Sha256: 6421098ef0977622beabb9f6bb6794ec73f76eccf3b8a6b89e56ec5882884071

Contents?: true

Size: 633 Bytes

Versions: 44

Compression:

Stored size: 633 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 (IRhoClassFactory* factory);
    ~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

44 entries across 44 versions & 1 rubygems

Version Path
rhodes-2.3.0 platform/wm/rhodes/Vibrate.h
rhodes-2.3.0.beta.3 platform/wm/rhodes/Vibrate.h
rhodes-2.3.0.beta.2 platform/wm/rhodes/Vibrate.h
rhodes-2.3.0.beta.1 platform/wm/rhodes/Vibrate.h
rhodes-2.2.6 platform/wm/rhodes/Vibrate.h
rhodes-2.2.6.beta.1 platform/wm/rhodes/Vibrate.h
rhodes-2.2.5 platform/wm/rhodes/Vibrate.h
rhodes-2.2.5.beta.3 platform/wm/rhodes/Vibrate.h
rhodes-2.2.5.beta.2 platform/wm/rhodes/Vibrate.h
rhodes-2.2.5.beta.1 platform/wm/rhodes/Vibrate.h
rhodes-2.2.4.beta.1 platform/wm/rhodes/Vibrate.h
rhodes-2.2.3 platform/wm/rhodes/Vibrate.h
rhodes-2.2.3.beta.1 platform/wm/rhodes/Vibrate.h
rhodes-2.2.2 platform/wm/rhodes/Vibrate.h
rhodes-2.2.2.beta.1 platform/wm/rhodes/Vibrate.h
rhodes-2.2.1 platform/wm/rhodes/Vibrate.h
rhodes-2.2.1.beta.2 platform/wm/rhodes/Vibrate.h
rhodes-2.2.1.beta.1 platform/wm/rhodes/Vibrate.h
rhodes-2.2.0 platform/wm/rhodes/Vibrate.h
rhodes-2.2.0.beta.3 platform/wm/rhodes/Vibrate.h