source: trunk/synergy/lib/arch/CArchLogWindows.h@ 3003

Last change on this file since 3003 was 2749, checked in by bird, 19 years ago

synergy v1.3.1 sources (zip).

File size: 1.0 KB
Line 
1/*
2 * synergy -- mouse and keyboard sharing utility
3 * Copyright (C) 2002 Chris Schoeneman
4 *
5 * This package is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * found in the file COPYING that should have accompanied this file.
8 *
9 * This package is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14
15#ifndef CARCHLOGWINDOWS_H
16#define CARCHLOGWINDOWS_H
17
18#define WIN32_LEAN_AND_MEAN
19
20#include "IArchLog.h"
21#include <windows.h>
22
23#define ARCH_LOG CArchLogWindows
24
25//! Win32 implementation of IArchLog
26class CArchLogWindows : public IArchLog {
27public:
28 CArchLogWindows();
29 virtual ~CArchLogWindows();
30
31 // IArchLog overrides
32 virtual void openLog(const char* name);
33 virtual void closeLog();
34 virtual void showLog(bool showIfEmpty);
35 virtual void writeLog(ELevel, const char*);
36
37private:
38 HANDLE m_eventLog;
39};
40
41#endif
Note: See TracBrowser for help on using the repository browser.