| 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 CARCHFILEUNIX_H | 
|---|
| 16 | #define CARCHFILEUNIX_H | 
|---|
| 17 |  | 
|---|
| 18 | #include "IArchFile.h" | 
|---|
| 19 |  | 
|---|
| 20 | #define ARCH_FILE CArchFileUnix | 
|---|
| 21 |  | 
|---|
| 22 | //! Unix implementation of IArchFile | 
|---|
| 23 | class CArchFileUnix : public IArchFile { | 
|---|
| 24 | public: | 
|---|
| 25 | CArchFileUnix(); | 
|---|
| 26 | virtual ~CArchFileUnix(); | 
|---|
| 27 |  | 
|---|
| 28 | // IArchFile overrides | 
|---|
| 29 | virtual const char*     getBasename(const char* pathname); | 
|---|
| 30 | virtual std::string     getUserDirectory(); | 
|---|
| 31 | virtual std::string     getSystemDirectory(); | 
|---|
| 32 | virtual std::string     concatPath(const std::string& prefix, | 
|---|
| 33 | const std::string& suffix); | 
|---|
| 34 | }; | 
|---|
| 35 |  | 
|---|
| 36 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.