Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MousePipe.h

Go to the documentation of this file.
00001 // MousePipe.h: interface for the MousePipe class.
00004 
00005 
00006 #if !defined(AFX_MOUSEPIPE_H__3CAF9D23_0DF6_4AEC_9D02_EDC13E128B2F__INCLUDED_)
00007 #define AFX_MOUSEPIPE_H__3CAF9D23_0DF6_4AEC_9D02_EDC13E128B2F__INCLUDED_
00008 
00009 #if _MSC_VER > 1000
00010 #pragma once
00011 #endif // _MSC_VER > 1000
00012 
00020 class MousePipe : public PServer  
00021 {
00022 public:
00023     bool queueMessage(const int, const int, const int);
00024     
00025     virtual void disconnect();
00026     virtual bool serve();
00027 
00028     MousePipe(const TString &name);
00029     virtual ~MousePipe();
00030 private:
00032 
00036     typedef struct mouseMessage {
00037         int x;      
00038         int y;      
00039         int button; 
00040     } mouseMessage;
00041 
00042     TString semName;    
00043     HANDLE numberInQueue;   
00044 };
00045 
00046 #endif // !defined(AFX_MOUSEPIPE_H__3CAF9D23_0DF6_4AEC_9D02_EDC13E128B2F__INCLUDED_)

Generated on Mon Mar 25 06:29:59 2002 for Window Dressing by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001