My first try/project about getting my websites generated dinamically in C++ and a library.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
680 B

#pragma once
#include "CTML.h"
#include <list>
#include <string>
#include "Utilities.h"
#include <filesystem>
using namespace CTML;
using namespace std;
class GeneralBuilder : Utilities
void BuildThePraSite(Sites site);
void Head(Document &file,
string canonicalURL,
string title,
Levels level = ROOT,
string description = "",
list<string> cssStyles = {""});
void Body(Document &file,
string cPath,
Sites site,
PageType type = NORMAL);
void BuildHTMLFiles(Sites site, list<Document> rootFiles, list<Document> postFiles = {{}});
void WriteToFile(Document doc, string path);