mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 23:15:54 +08:00
Rename source files.
So the files are named as classes from commit 0ba535967bfbf00dbdce0a441105adb98671eb0e
This commit is contained in:
parent
f3dd5fa17d
commit
e9706f4032
@ -19,10 +19,10 @@ set(SLIC3R_GUI_SOURCES
|
||||
GUI/AboutDialog.hpp
|
||||
GUI/ArrangeSettingsDialogImgui.hpp
|
||||
GUI/ArrangeSettingsDialogImgui.cpp
|
||||
GUI/Auth.cpp
|
||||
GUI/Auth.hpp
|
||||
GUI/AuthSession.cpp
|
||||
GUI/AuthSession.hpp
|
||||
GUI/UserAccountCommunication.cpp
|
||||
GUI/UserAccountCommunication.hpp
|
||||
GUI/UserAccountSession.cpp
|
||||
GUI/UserAccountSession.hpp
|
||||
GUI/UserAccount.cpp
|
||||
GUI/UserAccount.hpp
|
||||
GUI/WebViewDialog.cpp
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef slic3r_UserAccount_hpp_
|
||||
#define slic3r_UserAccount_hpp_
|
||||
|
||||
#include "Auth.hpp"
|
||||
#include "UserAccountCommunication.hpp"
|
||||
#include "libslic3r/AppConfig.hpp"
|
||||
|
||||
#include <string>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "Auth.hpp"
|
||||
#include "UserAccountCommunication.hpp"
|
||||
#include "GUI_App.hpp"
|
||||
#include "format.hpp"
|
||||
#include "../Utils/Http.hpp"
|
||||
@ -85,7 +85,7 @@ bool save_secret(const std::string& opt, const std::string& usr, const std::stri
|
||||
//show_error(nullptr, msg);
|
||||
return false;
|
||||
}
|
||||
const wxString service = GUI::format_wxstr(L"%1%/PrusaAuth/%2%", SLIC3R_APP_NAME, opt);
|
||||
const wxString service = GUI::format_wxstr(L"%1%/PrusaAccount/%2%", SLIC3R_APP_NAME, opt);
|
||||
const wxString username = boost::nowide::widen(usr);
|
||||
const wxSecretValue password(boost::nowide::widen(psswd));
|
||||
if (!store.Save(service, username, password)) {
|
||||
@ -111,7 +111,7 @@ bool load_secret(const std::string& opt, std::string& usr, std::string& psswd)
|
||||
//show_error(nullptr, msg);
|
||||
return false;
|
||||
}
|
||||
const wxString service = GUI::format_wxstr(L"%1%/PrusaAuth/%2%", SLIC3R_APP_NAME, opt);
|
||||
const wxString service = GUI::format_wxstr(L"%1%/PrusaAccount/%2%", SLIC3R_APP_NAME, opt);
|
||||
wxString username;
|
||||
wxSecretValue password;
|
||||
if (!store.Load(service, username, password)) {
|
@ -1,7 +1,7 @@
|
||||
#ifndef slic3r_Auth_hpp_
|
||||
#define slic3r_Auth_hpp_
|
||||
#ifndef slic3r_UserAccountCommunication_hpp_
|
||||
#define slic3r_UserAccountCommunication_hpp_
|
||||
|
||||
#include "AuthSession.hpp"
|
||||
#include "UserAccountSession.hpp"
|
||||
#include "Event.hpp"
|
||||
#include "libslic3r/AppConfig.hpp"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "AuthSession.hpp"
|
||||
#include "UserAccountSession.hpp"
|
||||
#include "GUI_App.hpp"
|
||||
#include "format.hpp"
|
||||
#include "../Utils/Http.hpp"
|
@ -1,5 +1,5 @@
|
||||
#ifndef slic3r_AuthSession_hpp_
|
||||
#define slic3r_AuthSession_hpp_
|
||||
#ifndef slic3r_UserAccountSession_hpp_
|
||||
#define slic3r_UserAccountSession_hpp_
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "libslic3r/AppConfig.hpp"
|
Loading…
x
Reference in New Issue
Block a user