//
//  AlertPanel.h
//  myTracks
//
//  Created by Dirk Stichling on 03.11.08.
//  Copyright 2008 Dirk Stichling. All rights reserved.
//

/*
        [AlertPanel okPanelWithTitle:@"" message:@""];
 */

#import <DsUtilities/DsUtilities.h>

@interface AlertPanel : NSObject {
    SEL _button1Selector;
    SEL _button2Selector;
    SEL _button3Selector;
    SEL _button4Selector;

    id _button1Data;
    id _button2Data;
    id _button3Data;
    id _button4Data;

    id _delegate;
}

+ (void) alertPanelWithTitle:(NSString*)title
                     message:(NSString*)messageText
                     button1:(NSString*)button1Text button1Selector:(SEL)button1Selector button1Data:(id)button1Data
                     button2:(NSString*)button2Text button2Selector:(SEL)button2Selector button2Data:(id)button2Data
                     button3:(NSString*)button3Text button3Selector:(SEL)button3Selector button3Data:(id)button3Data
                    delegate:(id)delegate;

+ (void) alertPanelWithTitle:(NSString*)title
                     message:(NSString*)messageText
                     button1:(NSString*)button1Text button1Selector:(SEL)button1Selector button1Data:(id)button1Data
                     button2:(NSString*)button2Text button2Selector:(SEL)button2Selector button2Data:(id)button2Data
                    delegate:(id)delegate;

+ (void) alertPanelWithTitle:(NSString*)title
                     message:(NSString*)messageText
                     button1:(NSString*)button1Text button1Selector:(SEL)button1Selector button1Data:(id)button1Data
                    delegate:(id)delegate;

+ (void) alertPanelWithTitle:(NSString*)title
                     message:(NSString*)messageText
                     button1:(NSString*)button1Text;

+ (void) okPanelWithTitle:(NSString*)title
                  message:(NSString*)messageText;

+ (void) okPanelWindowWithTitle:(NSString*)title
                        message:(NSString*)messageText;

- (void) button1Clicked;
- (void) button2Clicked;
- (void) button3Clicked;
- (void) button4Clicked;

@end
