Ignore:
Timestamp:
Jul 29, 2006, 6:43:07 AM (19 years ago)
Author:
bird
Message:

Two classes (CPMScreen and CPMKeyState) + the hook dll left (and debugging of course).

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/synergy/lib/platform/CPMEventQueueBuffer.h

    r2751 r2752  
    22 * synergy -- mouse and keyboard sharing utility
    33 * Copyright (C) 2004 Chris Schoeneman
     4 * Copyright (C) 2006 Knut St. Osmundsen
    45 *
    56 * This package is free software; you can redistribute it and/or
     
    1314 */
    1415
    15 #ifndef CMSWINDOWSEVENTQUEUEBUFFER_H
    16 #define CMSWINDOWSEVENTQUEUEBUFFER_H
     16#ifndef CPMEVENTQUEUEBUFFER_H
     17#define CPMEVENTQUEUEBUFFER_H
    1718
    1819#include "IEventQueueBuffer.h"
    19 #define WIN32_LEAN_AND_MEAN
    20 #include <windows.h>
     20#define INCL_ERRORS
     21#define INCL_BASE
     22#define INCL_PM
     23#include <os2.h>
    2124
    22 //! Event queue buffer for Win32
    23 class CMSWindowsEventQueueBuffer : public IEventQueueBuffer {
     25//! Event queue buffer for PM
     26class CPMEventQueueBuffer : public IEventQueueBuffer {
    2427public:
    25         CMSWindowsEventQueueBuffer();
    26         virtual ~CMSWindowsEventQueueBuffer();
     28        CPMEventQueueBuffer();
     29        virtual ~CPMEventQueueBuffer();
    2730
    2831        // IEventQueueBuffer overrides
     
    3639
    3740private:
    38         DWORD                           m_thread;
    39         UINT                            m_userEvent;
    40         MSG                                     m_event;
    41         UINT                            m_daemonQuit;
     41        HAB                                 m_hab;
     42        HMQ                                 m_hmq;
     43    HEV                 m_hev;
     44        ULONG                           m_userEvent;
     45        QMSG                            m_event;
     46        ULONG                           m_daemonQuit;
    4247};
    4348
Note: See TracChangeset for help on using the changeset viewer.