3 * The Cheat - The legendary universal game trainer for Mac OS X.
4 * http://www.brokenzipper.com/trac/wiki/TheCheat
6 * Copyright (c) 2003-2011, Charles McGarvey et al.
8 * Distributable under the terms and conditions of the 2-clause BSD
9 * license; see the file COPYING for the legal text of the license.
13 #import "UpdatePrefs.h"
16 @implementation UpdatePrefs
22 [ibAutoCheckButton setState
:[[NSUserDefaults standardUserDefaults
] boolForKey
:TCUpdateCheckPref
]];
25 - (IBAction
)ibAutoCheckButton
:(id)sender
27 BOOL pref
= [sender state
];
28 [[NSUserDefaults standardUserDefaults
] setBool
:pref forKey
:TCUpdateCheckPref
];
31 - (IBAction
)ibCheckNowButton
:(id)sender
33 ChazCheckForUpdate( TCUpdateCheckURL
, YES
);