In file included from /run/build/BambuStudio/src/slic3r/GUI/DeviceCore/DevPrintTaskInfo.cpp:1:
src/slic3r/GUI/DeviceCore/DevPrintTaskInfo.h:15:10: error: ‘string’ in namespace ‘std’ does not name a type
15 | std::string content;
| ^~~~~~
src/slic3r/GUI/DeviceCore/DevPrintTaskInfo.h:16:10: error: ‘vector’ in namespace ‘std’ does not name a template type
16 | std::vector<std::string> image_url_paths;
| ^~~~~~
(cherry picked from commit 1e0ae7d3f8b47d1f8c1bb6b05be54d627bcc95f0)
27 lines
450 B
C++
27 lines
450 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
// TODO classes to handle dev print task management and ratings
|
|
|
|
namespace Slic3r
|
|
{
|
|
|
|
struct DevPrintTaskRatingInfo
|
|
{
|
|
bool request_successful;
|
|
int http_code;
|
|
int rating_id;
|
|
int start_count;
|
|
bool success_printed;
|
|
std::string content;
|
|
std::vector<std::string> image_url_paths;
|
|
};
|
|
|
|
class DevPrintTaskInfo
|
|
{
|
|
|
|
};
|
|
|
|
}// end namespace Slic3r
|