Commits

Frank D committed d6f380e

Remove some more old code.

Comments (0)

Files changed (6)

Frameworks/AIUtilities Framework/Source/AIColorAdditions.m

 static NSArray *defaultValidColors = nil;
 #define VALID_COLORS_ARRAY [[NSArray alloc] initWithObjects:@"aqua", @"aquamarine", @"blue", @"blueviolet", @"brown", @"burlywood", @"cadetblue", @"chartreuse", @"chocolate", @"coral", @"cornflowerblue", @"crimson", @"cyan", @"darkblue", @"darkcyan", @"darkgoldenrod", @"darkgreen", @"darkgrey", @"darkkhaki", @"darkmagenta", @"darkolivegreen", @"darkorange", @"darkorchid", @"darkred", @"darksalmon", @"darkseagreen", @"darkslateblue", @"darkslategrey", @"darkturquoise", @"darkviolet", @"deeppink", @"deepskyblue", @"dimgrey", @"dodgerblue", @"firebrick", @"forestgreen", @"fuchsia", @"gold", @"goldenrod", @"green", @"greenyellow", @"grey", @"hotpink", @"indianred", @"indigo", @"lawngreen", @"lightblue", @"lightcoral", @"lightgreen", @"lightgrey", @"lightpink", @"lightsalmon", @"lightseagreen", @"lightskyblue", @"lightslategrey", @"lightsteelblue", @"lime", @"limegreen", @"magenta", @"maroon", @"mediumaquamarine", @"mediumblue", @"mediumorchid", @"mediumpurple", @"mediumseagreen", @"mediumslateblue", @"mediumspringgreen", @"mediumturquoise", @"mediumvioletred", @"midnightblue", @"navy", @"olive", @"olivedrab", @"orange", @"orangered", @"orchid", @"palegreen", @"paleturquoise", @"palevioletred", @"peru", @"pink", @"plum", @"powderblue", @"purple", @"red", @"rosybrown", @"royalblue", @"saddlebrown", @"salmon", @"sandybrown", @"seagreen", @"sienna", @"silver", @"skyblue", @"slateblue", @"slategrey", @"springgreen", @"steelblue", @"tan", @"teal", @"thistle", @"tomato", @"turquoise", @"violet", @"yellowgreen", nil]
 
-static const CGFloat ONE_THIRD = 1.0f/3.0f;
-static const CGFloat ONE_SIXTH = 1.0f/6.0f;
-static const CGFloat TWO_THIRD = 2.0f/3.0f;
-
 static NSMutableDictionary *RGBColorValues = nil;
 
 //two parts of a single path:

Frameworks/AIUtilities Framework/Source/AIDateFormatterAdditions.m

 + (dispatch_queue_t)localizedFormatterQueue;
 @end
 
-typedef enum {
-    NONE,
-    SECONDS,
-    AMPM,
-    BOTH
-} StringType;
-
 @interface AIDateFormatterCache : NSObject
 {
 	NSDateFormatter *localizedDateFormatter;

Frameworks/AIUtilities Framework/Source/AIImageAdditions.h

  */
 
 typedef enum {
-    AIButtonActive = 0,
-    AIButtonPressed,
-    AIButtonUnknown,
-    AIButtonDisabled,
-    AIButtonHovered
-} AICloseButtonState;
-
-typedef enum {
 	AIUnknownFileType = -9999,
 	AITIFFFileType = NSTIFFFileType,
     AIBMPFileType = NSBMPFileType,

Frameworks/Adium Framework/Source/ESContactAlertsViewController.m

 - (void)deleteAlert;
 @end
 
-int alertAlphabeticalSort(id objectA, id objectB, void *context);
-int globalAlertAlphabeticalSort(id objectA, id objectB, void *context);
-
 //#define HEIGHT_DEBUG
 
 @implementation ESContactAlertsViewController

Plugins/Image Uploading Plugin/AIImageUploaderPlugin.h

 
 #define IMAGE_UPLOAD_MENU_TITLE		AILocalizedString(@"Replace with Uploaded Image", nil)
 
-typedef enum {
-	AISuccessfulUpload = 1,
-	AIErrorUpload
-} AIImageUploaderCode;
-
 @class AIImageUploaderWindowController, AIChat;
 
 @interface AIImageUploaderPlugin : AIPlugin <NSMenuDelegate> {

Plugins/WebKit Message View/AIWebkitMessageViewStyle.h

  *	@brief Different ways of formatting display names
  */
 typedef enum {
-	Display_Name = 1,
-	Display_Name_Screen_Name = 2,
-	Screen_Name_Display_Name = 3,
-	Screen_Name = 4
-} NameFormat;
-
-/*!
- *	@brief Different ways of formatting display names
- */
-typedef enum {
 	AIDefaultName = 0,
 	AIDisplayName = 1,
 	AIDisplayName_ScreenName = 2,