refactor: split examples common into header and source (#1393)

This commit is contained in:
leejet
2026-04-06 21:11:57 +08:00
committed by GitHub
parent 359eb8b8de
commit 5bf438d568
9 changed files with 1970 additions and 1919 deletions

View File

@@ -8,10 +8,11 @@
#include <sstream>
#include <vector>
#include <json.hpp>
#include "httplib.h"
#include "stable-diffusion.h"
#include "common/common.hpp"
#include "common/common.h"
#include "common/media_io.h"
#include "common/resource_owners.hpp"
@@ -19,6 +20,7 @@
#include "frontend/dist/gen_index_html.h"
#endif
using json = nlohmann::json;
namespace fs = std::filesystem;
// ----------------------- helpers -----------------------