2013-10-13 02:26:51 +00:00
|
|
|
// Copyright (c) 2012- PPSSPP Project.
|
|
|
|
|
|
|
|
// 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, version 2.0 or later versions.
|
|
|
|
|
|
|
|
// 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 2.0 for more details.
|
|
|
|
|
|
|
|
// A copy of the GPL 2.0 should have been included with the program.
|
|
|
|
// If not, see http://www.gnu.org/licenses/
|
|
|
|
|
|
|
|
// Official git repository and contact information can be found at
|
|
|
|
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Core/Dialog/PSPDialog.h"
|
2013-12-29 22:44:35 +00:00
|
|
|
#include "Core/MemMap.h"
|
2013-10-13 02:26:51 +00:00
|
|
|
|
|
|
|
struct SceUtilityNetconfData {
|
|
|
|
char groupName[8];
|
|
|
|
int timeout;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct SceUtilityNetconfParam {
|
|
|
|
pspUtilityDialogCommon common;
|
|
|
|
int netAction;
|
|
|
|
PSPPointer<SceUtilityNetconfData> NetconfData;
|
|
|
|
int netHotspot;
|
|
|
|
int netHotspotConnected;
|
2013-12-29 22:44:35 +00:00
|
|
|
int netWifiSpot;
|
2013-10-13 02:26:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class PSPNetconfDialog: public PSPDialog {
|
|
|
|
public:
|
|
|
|
PSPNetconfDialog();
|
|
|
|
virtual ~PSPNetconfDialog();
|
|
|
|
|
|
|
|
virtual int Init(u32 paramAddr);
|
2014-12-08 20:14:35 +00:00
|
|
|
virtual int Update(int animSpeed) override;
|
|
|
|
virtual int Shutdown(bool force = false) override;
|
|
|
|
virtual void DoState(PointerWrap &p) override;
|
2013-10-13 02:26:51 +00:00
|
|
|
|
|
|
|
private:
|
2014-02-01 00:08:52 +00:00
|
|
|
void DrawBanner();
|
2013-10-13 02:26:51 +00:00
|
|
|
SceUtilityNetconfParam request;
|
2013-10-26 22:08:21 +00:00
|
|
|
};
|