mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Removed now unneeded module.
This commit is contained in:
parent
679c08c314
commit
ea8de24dc8
@ -1,12 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
Import("env_mod")
|
||||
Import("env")
|
||||
|
||||
env_mod.core_sources = []
|
||||
|
||||
env_mod.add_source_files(env_mod.core_sources, "*.cpp")
|
||||
|
||||
# Build it all as a library
|
||||
lib = env_mod.add_library("paged_list", env_mod.core_sources)
|
||||
env.Prepend(LIBS=[lib])
|
@ -1,27 +0,0 @@
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
|
||||
def is_active():
|
||||
return True
|
||||
|
||||
|
||||
def get_name():
|
||||
return "paged_list"
|
||||
|
||||
|
||||
def can_build():
|
||||
return True
|
||||
|
||||
|
||||
def get_opts():
|
||||
return []
|
||||
|
||||
def get_flags():
|
||||
|
||||
return []
|
||||
|
||||
|
||||
def configure(env):
|
||||
pass
|
@ -1,21 +0,0 @@
|
||||
#include "static_folder_page.h"
|
||||
|
||||
#include "web/http/request.h"
|
||||
|
||||
#include <iostream>
|
||||
#include "web/file_cache.h"
|
||||
#include "database/database_manager.h"
|
||||
#include "web/html/html_builder.h"
|
||||
|
||||
void StaticFolderPage::handle_request_main(Request *request) {
|
||||
}
|
||||
|
||||
void StaticFolderPage::load() {
|
||||
}
|
||||
|
||||
StaticFolderPage::StaticFolderPage() :
|
||||
WebNode() {
|
||||
}
|
||||
|
||||
StaticFolderPage::~StaticFolderPage() {
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
#ifndef STATIC_FOLDER_PAGE_H
|
||||
#define STATIC_FOLDER_PAGE_H
|
||||
|
||||
#include "core/string.h"
|
||||
|
||||
#include "web/http/web_node.h"
|
||||
|
||||
//StaticFolderPage
|
||||
//Just serve files
|
||||
//404 if doesnt exist
|
||||
|
||||
//staticsitefolderpage
|
||||
//index file support per dir
|
||||
//could render md -> if .md -> check if changed -> cache -> file date
|
||||
//could render bbcode -> if .bb
|
||||
|
||||
//static file list
|
||||
//same as StaticFolderPage but can render file list
|
||||
|
||||
class StaticFolderPage : public WebNode {
|
||||
RCPP_OBJECT(StaticFolderPage, WebNode);
|
||||
|
||||
public:
|
||||
void handle_request_main(Request *request);
|
||||
|
||||
void load();
|
||||
|
||||
StaticFolderPage();
|
||||
~StaticFolderPage();
|
||||
|
||||
String folder;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user