~ubuntu-branches/ubuntu/oneiric/psi/oneiric

« back to all changes in this revision

Viewing changes to src/win32/idleui.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2005-01-10 17:41:43 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050110174143-ltocv5zapl6blf5d
Tags: 0.9.3-1
* New upstream release
* Cleaned up debian/rules (some things are done by upstream Makefiles now)
* Fixed some lintian warnings:
  - removed executable bit from some .png files
  - moved psi.desktop to /usr/share/applications
* Updated menu files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
////////////////////////////////////////////////////////////////
2
 
// 2000 Microsoft Systems Journal. 
3
 
// If this program works, it was written by Paul DiLascia.
4
 
// If not, I don't know who wrote it.
5
 
// This program compiles with Visual C++ 6.0 on Windows 98
6
 
//
7
 
#define DLLIMPORT __declspec(dllimport)
8
 
 
9
 
// IdleUI is a DLL that lets you tell when the user interface has been idle
10
 
// for a specified amount of time. The DLL works by installing windows keyboard
11
 
// and mouse hooks. The DLL records the tick count whenever input is received.
12
 
//
13
 
// To use, you must
14
 
// - call IdleUIInit when your app starts up
15
 
// - call IdleUITerm when your app terminates
16
 
// - call IdleUIGetLastInputTime to get the time, and compare this with
17
 
//   the current GetTickCount();
18
 
//
19
 
// See TestIdleUI.cpp for an example of how to use IdleUI
20
 
// 
21
 
DLLIMPORT BOOL IdleUIInit();
22
 
DLLIMPORT void IdleUITerm();
23
 
DLLIMPORT DWORD IdleUIGetLastInputTime();