summaryrefslogtreecommitdiff
path: root/protocols/SkypeClassic/src/skypeprofile.h
blob: 5902f865c34a15a4b8759d7cd8300a8677bea2df (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
// System includes
#include <stdio.h>
#include <windows.h>
#include <commctrl.h>
#include <process.h>
#include <time.h>
#include "resource.h"
#include "skype.h"

#pragma warning (push)
#pragma warning (disable: 4100) // unreferenced formal parameter
// Miranda database access
#include <newpluginapi.h>
#include <m_database.h>
#pragma warning (pop)

typedef struct
{
	TCHAR FullName[256];
	char HomePhone[256];
	char OfficePhone[256];
	char HomePage[256];
	TCHAR City[256];
	TCHAR Province[256];
	BYTE Sex;
	SYSTEMTIME Birthday;
} SkypeProfile;

void SkypeProfile_Load(SkypeProfile *pstProf);
void SkypeProfile_Save(SkypeProfile *pstProf);
void SkypeProfile_Free(SkypeProfile *pstProf);
void SkypeProfile_LoadFromSkype(SkypeProfile *pstProf);
void SkypeProfile_SaveToSkype(SkypeProfile *pstProf);