2011-06-01 23:08:05 +00:00
|
|
|
// SparkleShare, a collaboration and sharing tool.
|
2010-05-06 00:17:00 +00:00
|
|
|
// Copyright (C) 2010 Hylke Bons <hylkebons@gmail.com>
|
|
|
|
//
|
|
|
|
// 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 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2010-11-21 12:33:24 +00:00
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2010-05-06 00:17:00 +00:00
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2011-05-08 23:04:53 +00:00
|
|
|
|
2010-05-06 00:17:00 +00:00
|
|
|
using System;
|
2010-05-08 14:31:44 +00:00
|
|
|
using System.IO;
|
2011-05-08 23:04:53 +00:00
|
|
|
|
2010-08-02 15:42:42 +00:00
|
|
|
namespace SparkleLib {
|
2010-06-12 14:37:03 +00:00
|
|
|
|
2011-05-01 13:40:46 +00:00
|
|
|
public static class SparklePaths {
|
2010-05-06 00:17:00 +00:00
|
|
|
|
2011-06-04 14:16:21 +00:00
|
|
|
public static string HomePath = Environment.GetFolderPath (Environment.SpecialFolder.Personal);
|
2011-05-01 13:40:46 +00:00
|
|
|
public static string SparklePath = Path.Combine (HomePath ,"SparkleShare");
|
|
|
|
public static string SparkleTmpPath = Path.Combine (SparklePath, ".tmp");
|
2011-06-04 14:16:21 +00:00
|
|
|
public static string SparkleConfigPath = Path.Combine (Environment.GetFolderPath (
|
|
|
|
Environment.SpecialFolder.ApplicationData), "sparkleshare");
|
2011-06-04 17:15:55 +00:00
|
|
|
public static string SparkleLocalIconPath = Path.Combine (SparkleConfigPath, "icons");
|
2011-06-04 14:16:21 +00:00
|
|
|
|
|
|
|
public static string SparkleInstallPath = Path.Combine (Defines.PREFIX, "sparkleshare");
|
2011-05-01 13:40:46 +00:00
|
|
|
public static string SparkleIconPath = SparkleHelpers.CombineMore (Defines.DATAROOTDIR, "sparkleshare", "icons");
|
|
|
|
|
|
|
|
}
|
2010-05-06 00:17:00 +00:00
|
|
|
}
|