summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/webcam.cpp
blob: 49888e7da047a5aa100a15bdcdd8b1ece89ef4ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
 * $Id: webcam.cpp 9228 2009-03-26 13:47:12Z ghazan $
 *
 * myYahoo Miranda Plugin 
 *
 * Authors: Gennady Feldman (aka Gena01) 
 *          Laurent Marechal (aka Peorth)
 *
 * This code is under GPL and is based on AIM, MSN and Miranda source code.
 * I want to thank Robert Rainwater and George Hazan for their code and support
 * and for answering some of my questions during development of this plugin.
 */
#include <time.h>
#include <sys/stat.h>
#include <malloc.h>
#include <io.h>

/*
 * Miranda headers
 */
#include "stdafx.h"
#include <m_protosvc.h>
#include <m_langpack.h>
#include <m_message.h>

/* WEBCAM callbacks */
void ext_yahoo_got_webcam_image(int, const char*, const unsigned char*, unsigned int, unsigned int, unsigned int)
{
	LOG(("ext_yahoo_got_webcam_image"));
}

void ext_yahoo_webcam_viewer(int, const char*, int)
{
	LOG(("ext_yahoo_webcam_viewer"));
}

void ext_yahoo_webcam_closed(int, const char*, int)
{
	LOG(("ext_yahoo_webcam_closed"));
}

void ext_yahoo_webcam_data_request(int, int)
{
	LOG(("ext_yahoo_webcam_data_request"));
}

void ext_yahoo_webcam_invite(int id, const char *me, const char *from)
{
	LOG(("ext_yahoo_webcam_invite"));

	GETPROTOBYID(id)->ext_got_im(me, from, 0, Translate("[miranda] Got webcam invite. (not currently supported)"), 0, 0, 0, -1);
}

void ext_yahoo_webcam_invite_reply(int, const char*, const char*, int)
{
	LOG(("ext_yahoo_webcam_invite_reply"));
}