29 lines
644 B
C++
29 lines
644 B
C++
#pragma once
|
|
#include "CTML.h"
|
|
#include <list>
|
|
#include <string>
|
|
#include "Utilities.h"
|
|
#include <filesystem>
|
|
using namespace CTML;
|
|
using namespace std;
|
|
|
|
class GeneralBuilder : Utilities
|
|
{
|
|
public:
|
|
GeneralBuilder();
|
|
~GeneralBuilder();
|
|
list<Document> 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 = {{}});
|
|
};
|
|
|