blob: ba78ffbc66695499f325813c8e6784a34ffad96e [file] [log] [blame]
Peter Qiuc0beca52015-09-03 11:25:46 -07001//
2// Copyright (C) 2012 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
Paul Stewart75897df2011-04-27 09:05:53 -070016
Ben Chanc45688b2014-07-02 23:50:45 -070017#ifndef SHILL_SHILL_CONFIG_H_
18#define SHILL_SHILL_CONFIG_H_
Paul Stewart75897df2011-04-27 09:05:53 -070019
Chris Masone2ae797d2011-08-23 20:41:00 -070020#include <string>
21
Ben Chancc67c522014-09-03 07:19:18 -070022#include <base/macros.h>
Wade Guthriebb5d4a62013-06-07 09:41:51 -070023
Paul Stewart75897df2011-04-27 09:05:53 -070024namespace shill {
25
26class Config {
27 public:
Chris Masone2ae797d2011-08-23 20:41:00 -070028 Config();
29 virtual ~Config();
30
Chris Masoneb9c00592011-10-06 13:10:39 -070031 virtual std::string GetRunDirectory();
32 virtual std::string GetStorageDirectory();
mukesh agrawal0a59a5a2014-04-24 19:10:46 -070033 virtual std::string GetUserStorageDirectory();
Chris Masone2ae797d2011-08-23 20:41:00 -070034
Paul Stewart75897df2011-04-27 09:05:53 -070035 private:
Chris Masone2ae797d2011-08-23 20:41:00 -070036 static const char kDefaultRunDirectory[];
37 static const char kDefaultStorageDirectory[];
mukesh agrawal0a59a5a2014-04-24 19:10:46 -070038 static const char kDefaultUserStorageDirectory[];
Chris Masone2ae797d2011-08-23 20:41:00 -070039
Wade Guthriebb5d4a62013-06-07 09:41:51 -070040 DISALLOW_COPY_AND_ASSIGN(Config);
Paul Stewart75897df2011-04-27 09:05:53 -070041};
42
43} // namespace shill
44
Ben Chanc45688b2014-07-02 23:50:45 -070045#endif // SHILL_SHILL_CONFIG_H_