| 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 XARCHUNIX_H | 
|---|
| 16 | #define XARCHUNIX_H | 
|---|
| 17 |  | 
|---|
| 18 | #include "XArch.h" | 
|---|
| 19 |  | 
|---|
| 20 | //! Lazy error message string evaluation for unix | 
|---|
| 21 | class XArchEvalUnix : public XArchEval { | 
|---|
| 22 | public: | 
|---|
| 23 | XArchEvalUnix(int err) : m_errno(err) { } | 
|---|
| 24 | virtual ~XArchEvalUnix() { } | 
|---|
| 25 |  | 
|---|
| 26 | // XArchEval overrides | 
|---|
| 27 | virtual XArchEval*      clone() const throw(); | 
|---|
| 28 | virtual std::string     eval() const throw(); | 
|---|
| 29 |  | 
|---|
| 30 | private: | 
|---|
| 31 | int                                     m_errno; | 
|---|
| 32 | }; | 
|---|
| 33 |  | 
|---|
| 34 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.