Skip to content

Commit

Permalink
Fixed WiFi Evidence Source
Browse files Browse the repository at this point in the history
WiFi Evidence source is now fixed, but this is Snow Leopard only
  • Loading branch information
dustinrue committed Jul 13, 2011
1 parent 6fdca4c commit 8f822d6
Show file tree
Hide file tree
Showing 113 changed files with 30,809 additions and 367 deletions.
20 changes: 20 additions & 0 deletions Growl.framework.dSYM/Contents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.xcode.dsym.com.growl.growlframework</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.2.1</string>
<key>CFBundleVersion</key>
<string>1.2.1</string>
</dict>
</plist>
Binary file not shown.
Binary file modified Growl.framework/Versions/A/Growl
Binary file not shown.
58 changes: 40 additions & 18 deletions Growl.framework/Versions/A/Headers/GrowlApplicationBridge-Carbon.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
#include <sys/cdefs.h>
#include <Carbon/Carbon.h>

#ifndef GROWL_EXPORT
#define GROWL_EXPORT __attribute__((visibility("default"))) DEPRECATED_ATTRIBUTE
#endif

/*! @header GrowlApplicationBridge-Carbon.h
* @abstract Declares an API that Carbon applications can use to interact with Growl.
* @discussion GrowlApplicationBridge uses a delegate to provide information //XXX
Expand Down Expand Up @@ -323,6 +327,8 @@ struct Growl_Notification {
* 0.7.
*/
void (*clickCallback)(CFPropertyListRef clickContext);

CFStringRef identifier;
};

#pragma mark -
Expand Down Expand Up @@ -374,6 +380,8 @@ struct Growl_Notification {
(notification)->reserved = 0U; \
(notification)->isSticky = false; \
(notification)->clickContext = NULL; \
(notification)->clickCallback = NULL; \
(notification)->identifier = NULL; \
} \
} while(0)

Expand Down Expand Up @@ -417,7 +425,7 @@ struct Growl_Notification {
* structure, except possibly the referenceCount by calling the retain and
* release members.
*/
Boolean Growl_SetDelegate(struct Growl_Delegate *newDelegate);
GROWL_EXPORT Boolean Growl_SetDelegate(struct Growl_Delegate *newDelegate);

/*! @function Growl_GetDelegate
* @abstract Returns the current Growl delegate, if any.
Expand All @@ -430,7 +438,7 @@ Boolean Growl_SetDelegate(struct Growl_Delegate *newDelegate);
* delegate on your behalf. You are responsible for retaining and releasing
* the delegate as needed.
*/
struct Growl_Delegate *Growl_GetDelegate(void);
GROWL_EXPORT struct Growl_Delegate *Growl_GetDelegate(void);

#pragma mark -

Expand All @@ -452,7 +460,7 @@ struct Growl_Delegate *Growl_GetDelegate(void);
* If the user does choose to install Growl, the requested notification will
* be displayed once Growl is installed and running.
*/
void Growl_PostNotification(const struct Growl_Notification *notification);
GROWL_EXPORT void Growl_PostNotification(const struct Growl_Notification *notification);

/*! @function Growl_PostNotificationWithDictionary
* @abstract Notifies using a userInfo dictionary suitable for passing to
Expand All @@ -468,7 +476,7 @@ void Growl_PostNotification(const struct Growl_Notification *notification);
* to using CFDistributedNotificationCenter. The keys for this dictionary
* can be found in GrowlDefines.h.
*/
void Growl_PostNotificationWithDictionary(CFDictionaryRef userInfo);
GROWL_EXPORT void Growl_PostNotificationWithDictionary(CFDictionaryRef userInfo);

/*! @function Growl_NotifyWithTitleDescriptionNameIconPriorityStickyClickContext
* @abstract Posts a Growl notification using parameter values.
Expand All @@ -491,7 +499,7 @@ void Growl_PostNotificationWithDictionary(CFDictionaryRef userInfo);
* The icon data can be in any format supported by NSImage. As of Mac OS X
* 10.3, this includes the .icns, TIFF, JPEG, GIF, PNG, PDF, and PICT formats.
*/
void Growl_NotifyWithTitleDescriptionNameIconPriorityStickyClickContext(
GROWL_EXPORT void Growl_NotifyWithTitleDescriptionNameIconPriorityStickyClickContext(
/*inhale*/
CFStringRef title,
CFStringRef description,
Expand Down Expand Up @@ -525,7 +533,7 @@ void Growl_NotifyWithTitleDescriptionNameIconPriorityStickyClickContext(
* This function was introduced in Growl.framework 0.7.
* @result <code>false</code> if registration failed (e.g. if Growl isn't installed).
*/
Boolean Growl_RegisterWithDictionary(CFDictionaryRef regDict);
GROWL_EXPORT Boolean Growl_RegisterWithDictionary(CFDictionaryRef regDict);

/*! @function Growl_Reregister
* @abstract Updates your registration with Growl.
Expand All @@ -543,7 +551,7 @@ Boolean Growl_RegisterWithDictionary(CFDictionaryRef regDict);
* This function is now implemented using
* <code>Growl_RegisterWithDictionary</code>.
*/
void Growl_Reregister(void);
GROWL_EXPORT void Growl_Reregister(void);

#pragma mark -

Expand All @@ -563,14 +571,14 @@ void Growl_Reregister(void);
* @param flag <code>true</code> if you want GrowlApplicationBridge to register with
* Growl when next it is ready; <code>false</code> if not.
*/
void Growl_SetWillRegisterWhenGrowlIsReady(Boolean flag);
GROWL_EXPORT void Growl_SetWillRegisterWhenGrowlIsReady(Boolean flag);
/*! @function Growl_WillRegisterWhenGrowlIsReady
* @abstract Reports whether GrowlApplicationBridge will register with Growl
* when Growl next launches.
* @result <code>true</code> if GrowlApplicationBridge will register with
* Growl when next it posts GROWL_IS_READY; <code>false</code> if not.
*/
Boolean Growl_WillRegisterWhenGrowlIsReady(void);
GROWL_EXPORT Boolean Growl_WillRegisterWhenGrowlIsReady(void);

#pragma mark -

Expand All @@ -585,14 +593,14 @@ Boolean Growl_WillRegisterWhenGrowlIsReady(void);
* This function does not attempt to clean up the dictionary in any way - for
* example, if it is missing the <code>GROWL_APP_NAME</code> key, the result
* will be missing it too. Use
* <code>Growl_CreateRegistrationDictionaryByFillingInDictionary:</code> or
* <code>Growl_CreateRegistrationDictionaryByFillingInDictionary</code> or
* <code>Growl_CreateRegistrationDictionaryByFillingInDictionaryRestrictedToKeys</code>
* to try to fill in missing keys.
*
* This function was introduced in Growl.framework 0.7.
* @result A registration dictionary.
*/
CFDictionaryRef Growl_CopyRegistrationDictionaryFromDelegate(void);
GROWL_EXPORT CFDictionaryRef Growl_CopyRegistrationDictionaryFromDelegate(void);

/*! @function Growl_CopyRegistrationDictionaryFromBundle
* @abstract Looks in a bundle for a registration dictionary.
Expand All @@ -613,7 +621,7 @@ CFDictionaryRef Growl_CopyRegistrationDictionaryFromDelegate(void);
* This function was introduced in Growl.framework 0.7.
* @result A registration dictionary.
*/
CFDictionaryRef Growl_CopyRegistrationDictionaryFromBundle(CFBundleRef bundle);
GROWL_EXPORT CFDictionaryRef Growl_CopyRegistrationDictionaryFromBundle(CFBundleRef bundle);

/*! @function Growl_CreateBestRegistrationDictionary
* @abstract Obtains a registration dictionary, filled out to the best of
Expand All @@ -639,7 +647,7 @@ CFDictionaryRef Growl_CopyRegistrationDictionaryFromBundle(CFBundleRef bundle);
* This function was introduced in Growl.framework 0.7.
* @result A registration dictionary.
*/
CFDictionaryRef Growl_CreateBestRegistrationDictionary(void);
GROWL_EXPORT CFDictionaryRef Growl_CreateBestRegistrationDictionary(void);

#pragma mark -

Expand All @@ -664,7 +672,7 @@ CFDictionaryRef Growl_CreateBestRegistrationDictionary(void);
*
* This function was introduced in Growl.framework 0.7.
*/
CFDictionaryRef Growl_CreateRegistrationDictionaryByFillingInDictionary(CFDictionaryRef regDict);
GROWL_EXPORT CFDictionaryRef Growl_CreateRegistrationDictionaryByFillingInDictionary(CFDictionaryRef regDict);
/*! @function Growl_CreateRegistrationDictionaryByFillingInDictionaryRestrictedToKeys
* @abstract Tries to fill in missing keys in a registration dictionary.
* @param regDict The dictionary to fill in.
Expand All @@ -686,7 +694,21 @@ CFDictionaryRef Growl_CreateRegistrationDictionaryByFillingInDictionary(CFDictio
*
* This function was introduced in Growl.framework 0.7.
*/
CFDictionaryRef Growl_CreateRegistrationDictionaryByFillingInDictionaryRestrictedToKeys(CFDictionaryRef regDict, CFSetRef keys);
GROWL_EXPORT CFDictionaryRef Growl_CreateRegistrationDictionaryByFillingInDictionaryRestrictedToKeys(CFDictionaryRef regDict, CFSetRef keys);

/*! @brief Tries to fill in missing keys in a notification dictionary.
* @param notifDict The dictionary to fill in.
* @return The dictionary with the keys filled in. This will be a separate instance from \a notifDict.
* @discussion This function examines the \a notifDict for missing keys, and
* tries to get them from the last known registration dictionary. As of 1.1,
* the keys that it will look for are:
*
* \li <code>GROWL_APP_NAME</code>
* \li <code>GROWL_APP_ICON</code>
*
* @since Growl.framework 1.1
*/
GROWL_EXPORT CFDictionaryRef Growl_CreateNotificationDictionaryByFillingInDictionary(CFDictionaryRef notifDict);

#pragma mark -

Expand All @@ -697,14 +719,14 @@ CFDictionaryRef Growl_CreateRegistrationDictionaryByFillingInDictionaryRestricte
* installed.
* @result Returns true if Growl is installed, false otherwise.
*/
Boolean Growl_IsInstalled(void);
GROWL_EXPORT Boolean Growl_IsInstalled(void);

/*! @function Growl_IsRunning
* @abstract Cycles through the process list to find whether GrowlHelperApp
* is running.
* @result Returns true if Growl is running, false otherwise.
*/
Boolean Growl_IsRunning(void);
GROWL_EXPORT Boolean Growl_IsRunning(void);

#pragma mark -

Expand Down Expand Up @@ -738,7 +760,7 @@ typedef void (*GrowlLaunchCallback)(void *context);
* acceptable for context to be <code>NULL</code>. The callback itself can be
* <code>NULL</code> if you don't want one.
*/
Boolean Growl_LaunchIfInstalled(GrowlLaunchCallback callback, void *context);
GROWL_EXPORT Boolean Growl_LaunchIfInstalled(GrowlLaunchCallback callback, void *context);

#pragma mark -
#pragma mark Constants
Expand Down
53 changes: 36 additions & 17 deletions Growl.framework/Versions/A/Headers/GrowlApplicationBridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Growl
//
// Created by Evan Schoenberg on Wed Jun 16 2004.
// Copyright 2004-2005 The Growl Project. All rights reserved.
// Copyright 2004-2006 The Growl Project. All rights reserved.
//

/*!
Expand All @@ -17,23 +17,12 @@
#define __GrowlApplicationBridge_h__

#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#import "GrowlDefines.h"

//Forward declarations
@protocol GrowlApplicationBridgeDelegate;

/*!
* @defined GROWL_PREFPANE_BUNDLE_IDENTIFIER
* @discussion The bundle identifier for the Growl prefpane.
*/
#define GROWL_PREFPANE_BUNDLE_IDENTIFIER @"com.growl.prefpanel"

/*!
* @defined GROWL_PREFPANE_NAME
* @discussion The file name of the Growl prefpane.
*/
#define GROWL_PREFPANE_NAME @"Growl.prefPane"

//Internal notification when the user chooses not to install (to avoid continuing to cache notifications awaiting installation)
#define GROWL_USER_CHOSE_NOT_TO_INSTALL_NOTIFICATION @"User chose not to install"

Expand Down Expand Up @@ -371,6 +360,21 @@
*/
+ (NSDictionary *) registrationDictionaryByFillingInDictionary:(NSDictionary *)regDict restrictToKeys:(NSSet *)keys;

/*! @brief Tries to fill in missing keys in a notification dictionary.
* @param notifDict The dictionary to fill in.
* @return The dictionary with the keys filled in. This will be a separate instance from \a notifDict.
* @discussion This function examines the \a notifDict for missing keys, and
* tries to get them from the last known registration dictionary. As of 1.1,
* the keys that it will look for are:
*
* \li <code>GROWL_APP_NAME</code>
* \li <code>GROWL_APP_ICON</code>
*
* @since Growl.framework 1.1
*/
+ (NSDictionary *) notificationDictionaryByFillingInDictionary:(NSDictionary *)regDict;

+ (NSDictionary *) frameworkInfoDictionary;
@end

//------------------------------------------------------------------------------
Expand Down Expand Up @@ -417,10 +421,13 @@
* <code>+[GrowlApplicationBridge
* notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:]</code> calls.
*
* The dictionary should have 2 key object pairs:
* The dictionary should have the required key object pairs:
* key: GROWL_NOTIFICATIONS_ALL object: <code>NSArray</code> of <code>NSString</code> objects
* key: GROWL_NOTIFICATIONS_DEFAULT object: <code>NSArray</code> of <code>NSString</code> objects
*
* The dictionary may have the following key object pairs:
* key: GROWL_NOTIFICATIONS_HUMAN_READABLE_NAMES object: <code>NSDictionary</code> of key: notification name object: human-readable notification name
*
* You do not need to implement this method if you have an auto-discoverable
* plist file in your app bundle. (XXX refer to more information on that)
*
Expand All @@ -447,23 +454,35 @@
*/
- (NSString *) applicationNameForGrowl;

/*!
* @method applicationIconForGrowl
* @abstract Return the <code>NSImage</code> to treat as the application icon.
* @discussion The delegate may optionally return an <code>NSImage</code>
* object to use as the application icon. If this method is not implemented,
* {{{-applicationIconDataForGrowl}}} is tried. If that method is not
* implemented, the application's own icon is used. Neither method is
* generally needed.
* @result The <code>NSImage</code> to treat as the application icon.
*/
- (NSImage *) applicationIconForGrowl;

/*!
* @method applicationIconDataForGrowl
* @abstract Return the <code>NSData</code> to treat as the application icon.
* @discussion The delegate may optionally return an <code>NSData</code>
* object to use as the application icon; if this is not implemented, the
* application's own icon is used. This is not generally needed.
* @result The <code>NSData</code> to treat as the application icon.
* @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
*/
- (NSData *) applicationIconDataForGrowl;

/*!
* @method growlIsReady
* @abstract Informs the delegate that Growl has launched.
* @discussion Informs the delegate that Growl (specifically, the
* GrowlHelperApp) was launched successfully or was already running. The
* application can take actions with the knowledge that Growl is installed and
* functional.
* GrowlHelperApp) was launched successfully. The application can take actions
* with the knowledge that Growl is installed and functional.
*/
- (void) growlIsReady;

Expand Down
Loading

0 comments on commit 8f822d6

Please sign in to comment.