adium 4596:43397766975c: Move those two to the appropriate direc...

commits at adium.im commits at adium.im
Sun Jan 29 15:47:16 UTC 2012


details:	http://hg.adium.im/adium/rev/43397766975c
revision:	4596:43397766975c
branch:		(none)
author:		Adrian Godoroja <robotive at me.com>
date:		Sun Jan 29 17:47:10 2012 +0200

Move those two to the appropriate directory.

diffs (146 lines):

diff -r 4a334783042e -r 43397766975c AIBoolToControlTextColorTransformer.h
--- a/AIBoolToControlTextColorTransformer.h	Sun Jan 29 16:33:47 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-/* 
- * Adium is the legal property of its developers, whose names are listed in the copyright file included
- * with this source distribution.
- * 
- * 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 2 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 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 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,
- * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- */
-
-
-/*! 
- * @class AIBoolToControlTextColorTransformer
- * @brief NSValueTransformer which transforms BOOL to [NSColor controlTextColor] | [NSColor disabledControlTextColor]
- */
- at interface AIBoolToControlTextColorTransformer : NSValueTransformer
-
- at end
diff -r 4a334783042e -r 43397766975c AIBoolToControlTextColorTransformer.m
--- a/AIBoolToControlTextColorTransformer.m	Sun Jan 29 16:33:47 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-/* 
- * Adium is the legal property of its developers, whose names are listed in the copyright file included
- * with this source distribution.
- * 
- * 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 2 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 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 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,
- * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- */
-
-
-#import "AIBoolToControlTextColorTransformer.h"
-
- at implementation AIBoolToControlTextColorTransformer
-
-+ (Class)transformedValueClass
-{
-    return [NSColor class];
-}
-
-+ (BOOL)allowsReverseTransformation
-{
-    return NO;
-}
-
-- (id)transformedValue:(id)value
-{
-	if (value == nil || ![value respondsToSelector:@selector(boolValue)]) {
-		return nil;
-	}
-
-	return ([value boolValue]) ? [NSColor controlTextColor] : [NSColor disabledControlTextColor];
-}
-
- at end
diff -r 4a334783042e -r 43397766975c Frameworks/Adium Framework/Source/AIBoolToControlTextColorTransformer.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/Adium Framework/Source/AIBoolToControlTextColorTransformer.h	Sun Jan 29 17:47:10 2012 +0200
@@ -0,0 +1,24 @@
+/* 
+ * Adium is the legal property of its developers, whose names are listed in the copyright file included
+ * with this source distribution.
+ * 
+ * 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 2 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 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 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,
+ * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
+
+
+/*! 
+ * @class AIBoolToControlTextColorTransformer
+ * @brief NSValueTransformer which transforms BOOL to [NSColor controlTextColor] | [NSColor disabledControlTextColor]
+ */
+ at interface AIBoolToControlTextColorTransformer : NSValueTransformer
+
+ at end
diff -r 4a334783042e -r 43397766975c Frameworks/Adium Framework/Source/AIBoolToControlTextColorTransformer.m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Frameworks/Adium Framework/Source/AIBoolToControlTextColorTransformer.m	Sun Jan 29 17:47:10 2012 +0200
@@ -0,0 +1,41 @@
+/* 
+ * Adium is the legal property of its developers, whose names are listed in the copyright file included
+ * with this source distribution.
+ * 
+ * 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 2 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 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 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,
+ * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
+
+
+#import "AIBoolToControlTextColorTransformer.h"
+
+ at implementation AIBoolToControlTextColorTransformer
+
++ (Class)transformedValueClass
+{
+    return [NSColor class];
+}
+
++ (BOOL)allowsReverseTransformation
+{
+    return NO;
+}
+
+- (id)transformedValue:(id)value
+{
+	if (value == nil || ![value respondsToSelector:@selector(boolValue)]) {
+		return nil;
+	}
+
+	return ([value boolValue]) ? [NSColor controlTextColor] : [NSColor disabledControlTextColor];
+}
+
+ at end




More information about the commits mailing list