ähh bup
This commit is contained in:
parent
e9c7f79bc3
commit
8c28d1adb8
|
@ -19,6 +19,6 @@ class DynamicObjects
|
||||||
private:
|
private:
|
||||||
std::string _cleanpath (const char * const path);
|
std::string _cleanpath (const char * const path);
|
||||||
std::map<unsigned int, Sicobject *> _themap;
|
std::map<unsigned int, Sicobject *> _themap;
|
||||||
Routerin * _merouterin;
|
const Routerin * _merouterin;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,7 +17,7 @@ static const std::string std_html_header= u8R"HUENERBLUBBE(<!DOCTYPE html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<title>Sharing is Caring</title>
|
<title>Sharing is Caring</title>
|
||||||
<link rel="stylesheet" type="text/css" href="style.css">
|
<link rel="stylesheet" type="text/css" href="static/style.css">
|
||||||
</head>
|
</head>
|
||||||
)HUENERBLUBBE" ;
|
)HUENERBLUBBE" ;
|
||||||
|
|
||||||
|
|
|
@ -6,23 +6,26 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#include "Sicmaster.H"
|
#include "Routerin.H"
|
||||||
|
|
||||||
|
class Routerin;
|
||||||
|
|
||||||
class Sicobject
|
class Sicobject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
Sicobject() = delete; //was war noch mal ein explicit constructor?
|
Sicobject() = delete;
|
||||||
Sicobject(Sicmaster & master) :
|
|
||||||
_sicmaster(master),
|
Sicobject(const Routerin * master) :
|
||||||
|
_routerin(master),
|
||||||
_isvalid(false)
|
_isvalid(false)
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
Sicobject(Sicmaster &master, unsigned int idnum, std::string fname,size_t objsize,time_t upl_date) :
|
Sicobject(const Routerin *master, unsigned int idnum, std::string fname,size_t objsize,time_t upl_date) :
|
||||||
_size(objsize),
|
_size(objsize),
|
||||||
_idnum(idnum),
|
_idnum(idnum),
|
||||||
_sicmaster(master),
|
_routerin(master),
|
||||||
_isvalid(true),
|
_isvalid(true),
|
||||||
_upl_date(upl_date),
|
_upl_date(upl_date),
|
||||||
_fname(fname)
|
_fname(fname)
|
||||||
|
@ -64,7 +67,7 @@ class Sicobject
|
||||||
private:
|
private:
|
||||||
size_t _size;
|
size_t _size;
|
||||||
unsigned int _idnum;
|
unsigned int _idnum;
|
||||||
Sicmaster & _sicmaster;
|
const Routerin * _routerin;
|
||||||
bool _isvalid;
|
bool _isvalid;
|
||||||
time_t _upl_date;
|
time_t _upl_date;
|
||||||
std::string _fname;
|
std::string _fname;
|
||||||
|
|
Loading…
Reference in New Issue