Changeset 6958


Ignore:
Timestamp:
Oct 25, 2008, 8:54:09 PM (12 years ago)
Author:
livings124
Message:

eliminate all "warning: implicit declaration of function..." messages when compiling

Location:
trunk/macosx
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/CTGradient/CTGradientAdditions.h

    r6738 r6958  
    2929+ (CTGradient *) progressGradientForRed: (CGFloat) redComponent green: (CGFloat) greenComponent blue: (CGFloat) blueComponent;
    3030
    31 + (CTGradient *)progressWhiteGradient;
    32 + (CTGradient *)progressGrayGradient;
    33 + (CTGradient *)progressLightGrayGradient;
    34 + (CTGradient *)progressBlueGradient;
    35 + (CTGradient *)progressDarkBlueGradient;
    36 + (CTGradient *)progressGreenGradient;
    37 + (CTGradient *)progressLightGreenGradient;
    38 + (CTGradient *)progressDarkGreenGradient;
    39 + (CTGradient *)progressRedGradient;
    40 + (CTGradient *)progressYellowGradient;
     31+ (CTGradient *) progressWhiteGradient;
     32+ (CTGradient *) progressGrayGradient;
     33+ (CTGradient *) progressLightGrayGradient;
     34+ (CTGradient *) progressBlueGradient;
     35+ (CTGradient *) progressDarkBlueGradient;
     36+ (CTGradient *) progressGreenGradient;
     37+ (CTGradient *) progressLightGreenGradient;
     38+ (CTGradient *) progressDarkGreenGradient;
     39+ (CTGradient *) progressRedGradient;
     40+ (CTGradient *) progressYellowGradient;
    4141
    4242@end
  • trunk/macosx/CTGradient/CTGradientAdditions.m

    r6738 r6958  
    6767
    6868CTGradient * fProgressWhiteGradient = nil;
    69 + (CTGradient *)progressWhiteGradient
     69+ (CTGradient *) progressWhiteGradient
    7070{
    7171    if (!fProgressWhiteGradient)
     
    7575
    7676CTGradient * fProgressGrayGradient = nil;
    77 + (CTGradient *)progressGrayGradient
     77+ (CTGradient *) progressGrayGradient
    7878{
    7979    if (!fProgressGrayGradient)
     
    8383
    8484CTGradient * fProgressLightGrayGradient = nil;
    85 + (CTGradient *)progressLightGrayGradient
     85+ (CTGradient *) progressLightGrayGradient
    8686{
    8787    if (!fProgressLightGrayGradient)
     
    9191
    9292CTGradient * fProgressBlueGradient = nil;
    93 + (CTGradient *)progressBlueGradient
     93+ (CTGradient *) progressBlueGradient
    9494{
    9595    if (!fProgressBlueGradient)
     
    9999
    100100CTGradient * fProgressDarkBlueGradient = nil;
    101 + (CTGradient *)progressDarkBlueGradient
     101+ (CTGradient *) progressDarkBlueGradient
    102102{
    103103    if (!fProgressDarkBlueGradient)
     
    107107
    108108CTGradient * fProgressGreenGradient = nil;
    109 + (CTGradient *)progressGreenGradient
     109+ (CTGradient *) progressGreenGradient
    110110{
    111111    if (!fProgressGreenGradient)
     
    115115
    116116CTGradient * fProgressLightGreenGradient = nil;
    117 + (CTGradient *)progressLightGreenGradient
     117+ (CTGradient *) progressLightGreenGradient
    118118{
    119119    if (!fProgressLightGreenGradient)
     
    123123
    124124CTGradient * fProgressDarkGreenGradient = nil;
    125 + (CTGradient *)progressDarkGreenGradient
     125+ (CTGradient *) progressDarkGreenGradient
    126126{
    127127    if (!fProgressDarkGreenGradient)
     
    131131
    132132CTGradient * fProgressRedGradient = nil;
    133 + (CTGradient *)progressRedGradient
     133+ (CTGradient *) progressRedGradient
    134134{
    135135    if (!fProgressRedGradient)
     
    139139
    140140CTGradient * fProgressYellowGradient = nil;
    141 + (CTGradient *)progressYellowGradient
     141+ (CTGradient *) progressYellowGradient
    142142{
    143143    if (!fProgressYellowGradient)
  • trunk/macosx/Controller.m

    r6952 r6958  
    2424
    2525#import <IOKit/IOMessage.h>
     26#import <IOKit/pwr_mgt/IOPMLib.h>
    2627
    2728#import "Controller.h"
     
    4647#import "ExpandedPathToIconTransformer.h"
    4748#import "SpeedLimitToTurtleIconTransformer.h"
    48 #include "utils.h"
     49#import "metainfo.h"
     50#import "utils.h"
    4951
    5052#import "UKKQueue.h"
  • trunk/macosx/DragOverlayWindow.m

    r6818 r6958  
    2626#import "DragOverlayView.h"
    2727#import "NSStringAdditions.h"
     28#import "metainfo.h"
    2829
    2930@implementation DragOverlayWindow
  • trunk/macosx/PiecesView.m

    r6887 r6958  
    2626#import "InfoWindowController.h"
    2727#import "CTGradient.h"
     28#import "utils.h"
    2829
    2930#define MAX_ACROSS 18
  • trunk/macosx/PrefsController.m

    r6826 r6958  
    2929#import "NSStringAdditions.h"
    3030#import "UKKQueue.h"
     31#import "utils.h"
    3132
    3233#define DOWNLOAD_FOLDER     0
     
    237238   
    238239    //set rpc password - has to be released
    239     const char * rpcPassword = tr_sessionGetRPCPassword(fHandle);
     240    char * rpcPassword = tr_sessionGetRPCPassword(fHandle);
    240241    [fRPCPasswordField setStringValue: [NSString stringWithUTF8String: rpcPassword]];
    241242    tr_free(rpcPassword);
  • trunk/macosx/Torrent.m

    r6935 r6958  
    2828#import "NSApplicationAdditions.h"
    2929#import "NSStringAdditions.h"
    30 #include "utils.h" //tr_httpIsValidURL
     30#import "metainfo.h"
     31#import "utils.h" //tr_httpIsValidURL
    3132
    3233@interface Torrent (Private)
Note: See TracChangeset for help on using the changeset viewer.