VitaShell/netcheck_dialog.h

33 lines
1.1 KiB
C
Raw Permalink Normal View History

2018-01-26 10:36:14 +00:00
/*
VitaShell
Copyright (C) 2015-2018, TheFloW
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __NETCHECK_DIALOG_H__
#define __NETCHECK_DIALOG_H__
#define NETCHECK_DIALOG_RESULT_NONE 0
#define NETCHECK_DIALOG_RESULT_RUNNING 1
#define NETCHECK_DIALOG_RESULT_FINISHED 2
#define NETCHECK_DIALOG_RESULT_CONNECTED 3
#define NETCHECK_DIALOG_RESULT_NOT_CONNECTED 4
2018-01-27 14:28:51 +00:00
int initNetCheckDialog(int mode, int timeoutUs);
2018-01-26 10:36:14 +00:00
int isNetCheckDialogRunning();
int updateNetCheckDialog();
#endif