File: vibrator.h

package info (click to toggle)
literki 0.0.0+20100113.git1da40724-1.2
  • links: PTS, VCS
  • area: main
  • in suites: sid, stretch
  • size: 3,444 kB
  • ctags: 1,153
  • sloc: cpp: 5,263; makefile: 72
file content (17 lines) | stat: -rw-r--r-- 252 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _VIBRATOR_H
#define _VIBRATOR_H


class Vibrator {
  public:
    Vibrator(int vibtime, int vibpower);
    void Vibrate();
    void SetVibTime(int time);
    void SetVibPower(int power);

  private:
    int vibtime;
    int vibpower;
};

#endif