| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * synergy -- mouse and keyboard sharing utility | 
|---|
| 3 | * Copyright (C) 2004 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 IARCHSYSTEM_H | 
|---|
| 16 | #define IARCHSYSTEM_H | 
|---|
| 17 |  | 
|---|
| 18 | #include "IInterface.h" | 
|---|
| 19 | #include "stdstring.h" | 
|---|
| 20 |  | 
|---|
| 21 | //! Interface for architecture dependent system queries | 
|---|
| 22 | /*! | 
|---|
| 23 | This interface defines operations for querying system info. | 
|---|
| 24 | */ | 
|---|
| 25 | class IArchSystem : public IInterface { | 
|---|
| 26 | public: | 
|---|
| 27 | //! @name accessors | 
|---|
| 28 | //@{ | 
|---|
| 29 |  | 
|---|
| 30 | //! Identify the OS | 
|---|
| 31 | /*! | 
|---|
| 32 | Returns a string identifying the operating system. | 
|---|
| 33 | */ | 
|---|
| 34 | virtual std::string     getOSName() const = 0; | 
|---|
| 35 |  | 
|---|
| 36 | //@} | 
|---|
| 37 | }; | 
|---|
| 38 |  | 
|---|
| 39 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.