summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/sametime/session.h
blob: afe1d03c2c32a76bbe056b155c9e7acad49630fe (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
#ifndef _SESSION_INC
#define _SESSION_INC

#include "common.h"
#include "options.h"
#include "userlist.h"
#include "messaging.h"
#include "files.h"
#include "conference.h"
#include "utils.h"
#include "session_announce_win.h"

WORD GetClientVersion();
WORD GetServerVersion();

int SetIdle(bool idle);
int LogIn(int status, HANDLE hNetlibUser);
int SetSessionStatus(int status);
void SetSessionAwayMessage(int status, char *msg);
int LogOut();

void UpdateSelfStatus();

void InitAwayMsg();
void DeinitAwayMsg();

void InitSessionMenu();
void DeinitSessionMenu();

void InitCritSection();
void DeinitCritSection();
#endif