/*
 *  MCDaemonMain.h
 *  MCClientServer
 *
 *  Created by Brent Gulanowski on 10-02-08.
 *  Copyright 2010 Marketcircle Inc. All rights reserved.
 *
 */


/*
 * If get a sigterm, this function will return YES
 */
BOOL MCDaemonShouldTerminate();

/*
 * In your daemon project's main() function, call MCDaemonMain() and pass in your daemon's class name.
 * Invokes -finished after each run through the runloop.
 */

int MCDaemonMain(int argc, const char * argv[], NSString *daemonClassName);
