MyWebsitesGenerator/TestWebGen/GeneralBuilder.h

30 lines
612 B
C
Raw Normal View History

2017-04-02 18:07:06 +02:00
#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();
2017-05-01 12:50:38 +02:00
void BuildThePraSite(Sites site);
2017-04-02 18:07:06 +02:00
void Head(Document &file,
string canonicalURL,
string title,
Levels level = ROOT,
string description = "",
list<string> cssStyles = {""});
void Body(Document &file,
string cPath,
Sites site,
2017-05-01 21:51:45 +02:00
Col color = White,
2017-04-02 18:07:06 +02:00
PageType type = NORMAL);
2017-05-01 12:50:38 +02:00
void WriteToFile(Document doc, string path);
2017-04-02 18:07:06 +02:00
};