view pidgin/plugins/crazychat/main.c @ 26690:9fb8d8d9783a

Move the handling of chat rooms to jabber_disco_service_items_cb. This saves us from (needlessly) disco#info'ing the conference server once per chat, which adds up when you're testing against jabber.org.
author Paul Aurich <paul@darkrain42.org>
date Wed, 15 Apr 2009 04:38:28 +0000
parents 5fe8042783c1
children a8cc50c2279f
line wrap: on
line source

/sw/#ifdef __APPLE_CC__
#include <Carbon/Carbon.h>
#else
#include <Carbon.h>
#endif


#include "Utilities.h"
#include "QTUtilities.h"

#include "camdata.h"
#include "camproc.h"


#define BailErr(err) {if(err != noErr) goto bail;}


int main(void)
{	
    EnterMovies();
    CamProc(); // change this prototype-> no windows
    fprintf(stderr, "you have just murdered 1000 people.");
    RunApplicationEventLoop();
    return 0;
}