Code Search for Developers
 
 
  

timer.h from Make Controller at Krugle


Show timer.h syntax highlighted

#ifndef TIMER_HEADER
#define TIMER_HEADER

#include <windows.h>

class Timer
{

	private:

		// Handle de la fenêtre parente
		HWND _Handle;
		// Identificateur du Timer
		UINT _TimerID;
		// Interval du Timer
		int _Interval;
		// Adresse de la procedure qui va recevoir le message WM_TIMER
		TIMERPROC _ProcAd;

	public:

		// Constructeur
		Timer();
		// Destructeur
		~Timer();

		// Initialisation du Timer
		void InitTimer(const HWND pHandle, const TIMERPROC ProcAd, const int TimerID);

		// Démarre le Timer
		bool StartTimer();
		// Stop le Timer
		bool StopTimer();

		// Changer l'interval
		void Interval(const int Value);
		// Connaître l'interval
		int Interval();

};

#endif





See more files for this project here

Make Controller

The Make Controller is an open microcontroller platform for Makers of all kinds, by MakingThings. This project maintains the official firmware for the board and source for the software tools used with the board.

Project homepage: http://sourceforge.net/projects/makingthings
Programming language(s): C,C#,C++
License: other

  FCPipe.cpp
  FCPipe.h
  FCPipeUSB.cpp
  FCPipeUSB.h
  FC_Error.h
  SAM-BA.dll
  SAMBADLL.cpp
  SAMBADLL.h
  timer.cpp
  timer.h
  xmodem.cpp
  xmodem.h