Rename source files.

So the files are named as classes from commit 0ba535967bfbf00dbdce0a441105adb98671eb0e
This commit is contained in:
David Kocik 2024-01-29 11:56:20 +01:00
parent f3dd5fa17d
commit e9706f4032
6 changed files with 14 additions and 14 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
#ifndef slic3r_UserAccount_hpp_
#define slic3r_UserAccount_hpp_
#include "Auth.hpp"
#include "UserAccountCommunication.hpp"
#include "libslic3r/AppConfig.hpp"
#include <string>

View File

@ -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)) {

View File

@ -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"

View File

@ -1,4 +1,4 @@
#include "AuthSession.hpp"
#include "UserAccountSession.hpp"
#include "GUI_App.hpp"
#include "format.hpp"
#include "../Utils/Http.hpp"

View File

@ -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"