summaryrefslogtreecommitdiffstats
blob: 49001070baa703b3dbeea49aca2c131df6f664a0 (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
#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 getHomeDir() const;
			virtual boost::filesystem::path getSettingsDir() const = 0;

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

			virtual ApplicationMessageDisplay* getApplicationMessageDisplay() = 0;

		private:
			String name_;
	};
}

#endif