Plugins/Contact Status Dock Overlays/AIContactStatusDockOverlaysPlugin.h
changeset 3670 add0c83648a5
parent 3669 7905c08bc4d8
child 3671 855cbc039a80
equal deleted inserted replaced
3669:7905c08bc4d8 3670:add0c83648a5
     1 /* 
       
     2  * Adium is the legal property of its developers, whose names are listed in the copyright file included
       
     3  * with this source distribution.
       
     4  * 
       
     5  * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
       
     6  * General Public License as published by the Free Software Foundation; either version 2 of the License,
       
     7  * or (at your option) any later version.
       
     8  * 
       
     9  * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
       
    10  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
       
    11  * Public License for more details.
       
    12  * 
       
    13  * You should have received a copy of the GNU General Public License along with this program; if not,
       
    14  * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
       
    15  */
       
    16 
       
    17 #import <Adium/AIContactObserverManager.h>
       
    18 #import <Adium/AIContactAlertsControllerProtocol.h>
       
    19 #import <Adium/AIChatControllerProtocol.h>
       
    20 
       
    21 #define PREF_GROUP_DOCK_OVERLAYS		@"Dock Overlays"
       
    22 #define DOCK_OVERLAY_DEFAULT_PREFS		@"DockOverlayDefaults"
       
    23 
       
    24 #define	KEY_DOCK_SHOW_STATUS			@"Show status overlays"
       
    25 #define	KEY_DOCK_SHOW_CONTENT			@"Show content overlays"
       
    26 #define	KEY_DOCK_OVERLAY_POSITION		@"Overlay Position"
       
    27 
       
    28 #define DOCK_OVERLAY_ALERT_IDENTIFIER		@"DockOverlay"
       
    29 
       
    30 @class AIIconState;
       
    31 
       
    32 @interface AIContactStatusDockOverlaysPlugin : AIPlugin <AIListObjectObserver, AIChatObserver, AIActionHandler> {
       
    33     NSMutableArray				*overlayObjectsArray;
       
    34     AIIconState					*overlayState;
       
    35 
       
    36     NSColor	*signedOffColor;
       
    37     NSColor	*signedOnColor;
       
    38     NSColor	*unviewedContentColor;
       
    39 
       
    40     NSColor	*backSignedOffColor;
       
    41     NSColor	*backSignedOnColor;
       
    42     NSColor	*backUnviewedContentColor;
       
    43 
       
    44     BOOL	showStatus;
       
    45     BOOL	showContent;
       
    46     BOOL	overlayPosition;
       
    47 	BOOL	shouldAnimate;
       
    48 
       
    49     NSImage	*image1;
       
    50     NSImage	*image2;
       
    51 }
       
    52 
       
    53 @end