Darin Petkov | 4f5e549 | 2012-04-18 14:05:55 +0200 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef SHILL_CONFIG_ |
| 6 | #define SHILL_CONFIG_ |
| 7 | |
Chris Masone | 2ae797d | 2011-08-23 20:41:00 -0700 | [diff] [blame] | 8 | #include <string> |
| 9 | |
Wade Guthrie | bb5d4a6 | 2013-06-07 09:41:51 -0700 | [diff] [blame] | 10 | #include <base/basictypes.h> |
| 11 | |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 12 | namespace shill { |
| 13 | |
| 14 | class Config { |
| 15 | public: |
Chris Masone | 2ae797d | 2011-08-23 20:41:00 -0700 | [diff] [blame] | 16 | Config(); |
| 17 | virtual ~Config(); |
| 18 | |
Chris Masone | b9c0059 | 2011-10-06 13:10:39 -0700 | [diff] [blame] | 19 | virtual std::string GetRunDirectory(); |
| 20 | virtual std::string GetStorageDirectory(); |
| 21 | virtual std::string GetUserStorageDirectoryFormat(); |
Chris Masone | 2ae797d | 2011-08-23 20:41:00 -0700 | [diff] [blame] | 22 | |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 23 | private: |
Chris Masone | 2ae797d | 2011-08-23 20:41:00 -0700 | [diff] [blame] | 24 | static const char kDefaultRunDirectory[]; |
| 25 | static const char kDefaultStorageDirectory[]; |
| 26 | static const char kDefaultUserStorageFormat[]; |
Chris Masone | 2ae797d | 2011-08-23 20:41:00 -0700 | [diff] [blame] | 27 | |
Wade Guthrie | bb5d4a6 | 2013-06-07 09:41:51 -0700 | [diff] [blame] | 28 | DISALLOW_COPY_AND_ASSIGN(Config); |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | } // namespace shill |
| 32 | |
Chris Masone | 2ae797d | 2011-08-23 20:41:00 -0700 | [diff] [blame] | 33 | #endif // SHILL_CONFIG_ |