summaryrefslogtreecommitdiffstats
blob: 20d686c20a14f85b1585599f1674bf39c26fa0ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef SWIFTEN_Application_H
#define SWIFTEN_Application_H

#include <boost/filesystem.hpp>

#include "Swiften/Base/String.h"

namespace Swift {
	class ApplicationMessageDisplay;

	class Application {
		public:	
			Application(const String& name);
			virtual ~Application();

			boost::filesystem::path getSettingsFileName() const;
			boost::filesystem::path getAvatarDir() const;
			virtual boost::filesystem::path getHomeDir() const = 0;
			virtual boost::filesystem::path getSettingsDir() const = 0;
			boost::filesystem::path getProfileDir(const String& profile) const;

			const String& getName() const {
				return name_;
			}

			virtual ApplicationMessageDisplay* getApplicationMessageDisplay() = 0;

		private:
			String name_;
	};
}

#endif