diff options
Diffstat (limited to 'kgamma/kcmkgamma/xf86configpath.h')
-rw-r--r-- | kgamma/kcmkgamma/xf86configpath.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/kgamma/kcmkgamma/xf86configpath.h b/kgamma/kcmkgamma/xf86configpath.h new file mode 100644 index 00000000..88f7afa4 --- /dev/null +++ b/kgamma/kcmkgamma/xf86configpath.h @@ -0,0 +1,42 @@ +/*************************************************************************** + xf86configpath.h - description + ------------------- + begin : Mon Dec 30 2002 + copyright : (C) 2002 by Michael v.Ostheim + email : [email protected] + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef XF86CONFIGPATH_H +#define XF86CONFIGPATH_H + +#include <string> + +/**Search for XF86Config or XF86Config-4 which can be located at different + places. + *@author Michael v.Ostheim + */ + +class XF86ConfigPath { + +public: + XF86ConfigPath(); + ~XF86ConfigPath(); + + /** Returns Path variable */ + const char* get(); + +private: // Private attributes + /** Contains the path of XF86Config file */ + std::string Path; +}; + +#endif |