Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 27 lines (21 sloc) 0.529 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
//
// GrowlNotifier.h
// Noise
//
// Created by Joshua Bassett on 1/12/09.
// Copyright 2009 CLEAR Interactive. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <Growl/Growl.h>
#import "Notifier.h"

#define GROWL_FRAMEWORK_FILE_NAME @"Growl.framework"
#define NOISE_NOTIFICATION @"Noise Notification"

// Growl rate limiting.
#define GROWLS_PER_PERIOD 5
#define PERIOD 5 // seconds

@interface GrowlNotifier : Notifier <GrowlApplicationBridgeDelegate> {
@private
  double growlAllowance;
  NSDate *lastGrowl;
}

@end
Something went wrong with that request. Please try again.