pidgin/plugins/crazychat/main.c

Mon, 16 Mar 2009 17:07:41 +0000

author
Kevin Stange <kstange@pidgin.im>
date
Mon, 16 Mar 2009 17:07:41 +0000
changeset 26467
ca1524dbcbf0
parent 15435
4b933b06d75e
child 16238
33bf2fd32108
child 18068
b6554e3c8224
child 20478
46933dc62880
child 31294
73607ab89c6f
permissions
-rw-r--r--

A patch from Jorge VillaseƱor which makes all pounces share a single window.
The window is based on the one used by the mail notifications.

I made some extra changes on top of the patch to clean things up a little bit,
mainly to improve strings. Blame me if something breaks!

Thanks to bjlockie for helping with testing. Closes #190.

/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;
}

mercurial