2
* Remmina - The GTK+ Remote Desktop Client
3
* Copyright (C) 2010 Vic Lee
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330,
18
* Boston, MA 02111-1307, USA.
21
#ifndef __REMMINAPLUGINNX_H__
22
#define __REMMINAPLUGINNX_H__
26
#include "nx_session.h"
30
REMMINA_NX_EVENT_CANCEL,
31
REMMINA_NX_EVENT_START,
32
REMMINA_NX_EVENT_RESTORE,
33
REMMINA_NX_EVENT_ATTACH,
34
REMMINA_NX_EVENT_TERMINATE
37
typedef struct _RemminaPluginNxData
48
int (*orig_handler)(Display *, XErrorEvent *);
50
/* Session Manager data */
51
gboolean manager_started;
52
GtkWidget *manager_dialog;
53
gboolean manager_selected;
55
/* Communication between the NX thread and the session manager */
57
guint session_manager_start_handler;
58
gboolean attach_session;
60
} RemminaPluginNxData;
62
extern RemminaPluginService *remmina_plugin_nx_service;