Mercurial > pidgin.yaz
view src/win32/IdleTracker/IdleTracker.h @ 3922:30f52e7afd1d
[gaim-migrate @ 4094]
This is gtkimhtml2--it's a subclass of gtktextview. It's not done yet. It doesn't
do smileys or images, and what it does do so far, it doesn't do perfectly. But it's
perfectly 100% usable, and like 80,000 times faster than gtkimhtml + Pango.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 08 Nov 2002 06:10:35 +0000 |
parents | 98ede8f38be6 |
children |
line wrap: on
line source
/** * IdleTracker - a DLL that tracks the user's idle input time * system-wide. * * Usage * ===== * - call IdleTrackerInit() when you want to start monitoring. * - call IdleTrackerTerm() when you want to stop monitoring. * - to get the time past since last user input, do the following: * GetTickCount() - IdleTrackerGetLastTickCount() * * Author: Sidney Chong * Date: 25/5/2000 * Version: 1.0 **/ #include <windows.h> __declspec(dllimport) BOOL IdleTrackerInit(); __declspec(dllimport) void IdleTrackerTerm(); __declspec(dllimport) DWORD IdleTrackerGetLastTickCount();