Merge pull request #64 in ITERATE/cyberduck from feature/windows/9074 to master
[cyberduck.git] / source / de / zathras / UKCrashReporter.h
blobbbcd49d82596a5a4debfab7addd4a7815a3eec35
1 //
2 // UKCrashReporter.h
3 // NiftyFeatures
4 //
5 // Created by Uli Kusterer on Sat Feb 04 2006.
6 // Copyright (c) 2006 M. Uli Kusterer. All rights reserved.
7 //
9 // -----------------------------------------------------------------------------
10 // Headers:
11 // -----------------------------------------------------------------------------
13 #import <Foundation/Foundation.h>
15 // -----------------------------------------------------------------------------
16 // Classes:
17 // -----------------------------------------------------------------------------
19 @interface UKCrashReporter : NSObject
21 NSURLConnection* connection;
24 -(id) init;
26 // -----------------------------------------------------------------------------
27 // Prototypes:
28 // -----------------------------------------------------------------------------
30 /* Call this sometime during startup (e.g. in applicationDidLaunch) and it'll
31 check for a new crash log and offer to the user to send it.
33 The crash log is sent to a CGI script whose URL you specify in the
34 UKUpdateChecker.strings file. If you want, you can even have different
35 URLs for different locales that way, in case a crash is caused by an error
36 in a localized file.
38 - (void) checkForCrash;
40 @end