/*
 *     Generated by class-dump 3.1.2.
 *
 *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
 */

struct Connection;

struct GMMSegment {
    NSString *_field1;
    struct MapPoint _field2;
};

struct InputDataStream {
    char *_field1;
    unsigned int _field2;
    unsigned int _field3;
    unsigned int :1;
    unsigned int :1;
};

struct MapPoint {
    int latitude_;
    int longitude_;
    int x_pixels_at_max_zoom_;
    int y_pixels_at_max_zoom_;
};

struct Point {
    int _field1;
    int _field2;
};

struct Requester {
    void **_field1;
    int _field2;
    struct Connection *_field3;
    char *_field4;
    _Bool _field5;
    _Bool _field6;
};

struct Response {
    void **_field1;
    NSDictionary *_field2;
};

struct Tile {
    unsigned char _field1;
    unsigned char _field2;
    int _field3;
    int _field4;
    int _field5;
};

/*
 * File: System/Library/Frameworks/GMM.framework/GMM
 *       Current version: 14.0.0, Compatibility version: 1.0.0
 */

@interface ConnectionDelegate : NSObject
{
    struct Requester *requester;
    struct Response *response;
    NSMutableData *data;
}

- (id)initWithRequester:(struct Requester *)fp8;
- (void)_deactivate;
- (void)dealloc;
- (void)_failWithError:(int)fp8;
- (void)_cancelWithError;
- (void)connection:(id)fp8 didReceiveResponse:(id)fp12;
- (BOOL)_handleResponse:(BOOL)fp8;
- (void)connection:(id)fp8 didReceiveData:(id)fp12;
- (void)connectionDidFinishLoading:(id)fp8;
- (void)connection:(id)fp8 didFailWithError:(id)fp12;

@end

@interface MacSearchResult : NSObject
{
    NSString *name;
    NSString *address1;
    NSString *address2;
    NSString *locality;
    NSString *region;
    NSString *postalCode;
    NSString *countryCode;
    NSString *countryName;
    NSString *phone;
    NSString *referenceURL;
    NSString *attributionText;
    NSString *attributionURL;
    struct MapPoint *pos;
    unsigned char icon_class;
    unsigned char result_index;
}

- (id)initWithSearchResult:(id)fp8;
- (void)dealloc;
- (BOOL)isEqual:(id)fp8;
- (id)name;
- (id)address1;
- (id)address2;
- (id)locality;
- (id)region;
- (id)postalCode;
- (id)countryCode;
- (id)countryName;
- (id)phone;
- (id)referenceURL;
- (id)attributionText;
- (id)attributionURL;
- (struct MapPoint *)position;

@end

@interface GMMRoute : NSObject
{
    NSString *sourceAddress;
    NSString *destinationAddress;
    NSString *distanceString;
    NSString *travelTime;
    NSString *trafficDelay;
    unsigned int numSegments;
    struct GMMSegment *segments;
    unsigned int numMapPoints;
    struct MapPoint *mapPoints;
    int status;
}

- (id)initWithDictionaryRepresentation:(id)fp8;
- (id)dictionaryRepresentation;
- (void)dealloc;
- (id)sourceAddress;
- (id)destinationAddress;
- (id)distanceString;
- (id)travelTime;
- (id)trafficDelay;
- (struct MapPoint *)destinationMapPoint;
- (int)status;
- (void)getMapPoints:(struct MapPoint **)fp8 count:(unsigned int *)fp12;
- (void)getSegments:(struct GMMSegment **)fp8 count:(unsigned int *)fp12;

@end

@interface GMMTrafficTile : NSObject
{
    double expirationTime;
    NSMutableArray *roadsAtSpeed[4];
}

+ (double)defaultExpirationTime;
- (void)dealloc;
- (double)expirationTime;
- (id)getRoadsAtSpeed:(int)fp8;
- (void)readFromStream:(struct InputDataStream *)fp8 tile:(const struct Tile *)fp12;
- (void)invalidate;

@end

@interface GMMRoad : NSObject
{
    unsigned int numPoints;
    struct Point *points;
}

- (id)initWithPoints:(struct Point *)fp8 count:(unsigned long)fp12;
- (void)dealloc;
- (void)getPoints:(struct Point **)fp8 count:(unsigned int *)fp12;

@end

@interface GMMLocation : NSObject
{
    int responseCode_;
    struct MapPoint *point_;
    int accuracy_;
    int confidence_;
    NSString *geo_string_;
}

- (void)dealloc;
- (int)responseCode;
- (struct MapPoint *)point;
- (int)accuracy;
- (int)confidence;
- (id)geo_string;

@end


