summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtScaledAvatarCache.h')
-rw-r--r--Swift/QtUI/QtScaledAvatarCache.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/Swift/QtUI/QtScaledAvatarCache.h b/Swift/QtUI/QtScaledAvatarCache.h
new file mode 100644
index 0000000..cc3ac07
--- /dev/null
+++ b/Swift/QtUI/QtScaledAvatarCache.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2011 Remko Tronçon
+ * Licensed under the GNU General Public License v3.
+ * See Documentation/Licenses/GPLv3.txt for more information.
+ */
+
+#pragma once
+
+#include <string>
+#include <QString>
+
+namespace Swift {
+ class QtScaledAvatarCache {
+ public:
+ QtScaledAvatarCache(int size);
+
+ QString getScaledAvatarPath(const QString& path);
+
+ private:
+ int size;
+ };
+}