C# Class Pushover_plugin.WebhookDestination

Inheritance: Growl.Destinations.ForwardDestination
Afficher le fichier Open project: Vorror/GrowlForWindowsPushover

Méthodes publiques

Méthode Description
Clone ( ) : Growl.Destinations.DestinationBase

Clones this instance.

ConvertNotificationStyle ( Growl notification ) : int

Converts Growl styled notifcations to Pushover Styled notifications

ForwardNotification ( Growl notification, Growl callbackContext, Growl requestInfo, bool isIdle, Growl.Destinations.ForwardDestination callbackFunction ) : void

Called when a notification is received by GfW.

ForwardRegistration ( Growl application, List notificationTypes, Growl requestInfo, bool isIdle ) : void

Called when an application registration is received by GfW.

GetIcon ( ) : System.Drawing.Image

Gets the icon that represents this type of forwarder.

ReturnDeviceName ( string device ) : string
ReturnSoundName ( int selectedSound ) : string
WebhookDestination ( string name, string api, bool sendIfIdle, int selectedpriority, int selectedSound, string device ) : System

Initializes a new instance of the WebhookDestination class.

converttolocal ( int priority ) : int

Converts Selected Priority to mode styled priorty

Method Details

Clone() public méthode

Clones this instance.
public Clone ( ) : Growl.Destinations.DestinationBase
Résultat Growl.Destinations.DestinationBase

ConvertNotificationStyle() public méthode

Converts Growl styled notifcations to Pushover Styled notifications
public ConvertNotificationStyle ( Growl notification ) : int
notification Growl The notification information
Résultat int

ForwardNotification() public méthode

Called when a notification is received by GfW.
public ForwardNotification ( Growl notification, Growl callbackContext, Growl requestInfo, bool isIdle, Growl.Destinations.ForwardDestination callbackFunction ) : void
notification Growl The notification information
callbackContext Growl The callback context.
requestInfo Growl The request info.
isIdle bool true if the user is currently idle;false otherwise
callbackFunction Growl.Destinations.ForwardDestination The function GfW will run if this notification is responded to on the forwarded computer
Résultat void

ForwardRegistration() public méthode

Called when an application registration is received by GfW.
public ForwardRegistration ( Growl application, List notificationTypes, Growl requestInfo, bool isIdle ) : void
application Growl The application.
notificationTypes List The notification types.
requestInfo Growl The request info.
isIdle bool true if the user is currently idle;false otherwise
Résultat void

GetIcon() public méthode

Gets the icon that represents this type of forwarder.
public GetIcon ( ) : System.Drawing.Image
Résultat System.Drawing.Image

ReturnDeviceName() public méthode

public ReturnDeviceName ( string device ) : string
device string
Résultat string

ReturnSoundName() public méthode

public ReturnSoundName ( int selectedSound ) : string
selectedSound int
Résultat string

WebhookDestination() public méthode

Initializes a new instance of the WebhookDestination class.
public WebhookDestination ( string name, string api, bool sendIfIdle, int selectedpriority, int selectedSound, string device ) : System
name string
api string
sendIfIdle bool
selectedpriority int
selectedSound int
device string
Résultat System

converttolocal() public méthode

Converts Selected Priority to mode styled priorty
public converttolocal ( int priority ) : int
priority int
Résultat int