1 /**************************************************************************
2 *   Copyright (C) 2005-2020 by Oleksandr Shneyder                         *
3 *                              <o.shneyder@phoca-gmbh.de>                 *
4 *                                                                         *
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.                                   *
9 *   This program is distributed in the hope that it will be useful,       *
10 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
11 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
12 *   GNU General Public License for more details.                          *
13 *                                                                         *
14 *   You should have received a copy of the GNU General Public License     *
15 *   along with this program.  If not, see <https://www.gnu.org/licenses/>. *
16 ***************************************************************************/
17 
18 #ifndef ONGETPASS_H
19 #define ONGETPASS_H
20 #include <QString>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #ifdef Q_OS_WIN
27 __declspec(dllexport)
28 #endif
29 int x2goMain ( int argc, char *argv[] );
30 
31 void askpass ( const QString& param, const QString& accept,
32                const QString& cookie, const QString& socketName );
33 
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 
40 #endif
41