Skip to content

Commit dad3434

Browse files
Add GPLv3 license in each source file (fix gianluca-nitti#4)
1 parent e1b8472 commit dad3434

24 files changed

+408
-0
lines changed

printserver/DirectParallelPortPrinter.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#include "DirectParallelPortPrinter.h"
219

320
DirectParallelPortPrinter::DirectParallelPortPrinter(String _printerId, int _dataPins[8], int _strobePin, int _busyPin): ParallelPortPrinter(_printerId, _strobePin, _busyPin) {

printserver/DirectParallelPortPrinter.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#pragma once
219
#include "ParallelPortPrinter.h"
320

printserver/HttpStream.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#include "HttpStream.h"
219

320
HttpStream::HttpStream(WiFiClient conn): TcpStream(conn) {

printserver/HttpStream.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#pragma once
219
#include <Arduino.h>
320
#include <WiFiClient.h>

printserver/IppStream.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#include "IppStream.h"
219

320
std::set<String> allPrinterDescriptionAttributes {

printserver/IppStream.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#pragma once
219
#include <Arduino.h>
320
#include <WiFiClient.h>

printserver/ParallelPortPrinter.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#include "ParallelPortPrinter.h"
219

320
#define STROBE_DELAY 10

printserver/ParallelPortPrinter.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#pragma once
219
#include "Printer.h"
320

printserver/PrintQueue.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#include "PrintQueue.h"
219

320
size_t PrintQueue::availableFlashSpace = 0;

printserver/PrintQueue.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#pragma once
219
#include <Arduino.h>
320
#include <FS.h>

printserver/Printer.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#include "Printer.h"
219

320
Printer::Printer(String _printerId): queue(_printerId) {

printserver/Printer.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#pragma once
219
#include <Arduino.h>
320
#include "PrintQueue.h"

printserver/SerialPortPrinter.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#include "SerialPortPrinter.h"
219

320
SerialPortPrinter::SerialPortPrinter(String _printerId, Stream* s): Printer(_printerId) {

printserver/SerialPortPrinter.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#pragma once
219
#include "Printer.h"
320

printserver/Settings.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#pragma once
219

320
#define MAXCLIENTS 4

printserver/ShiftRegParallelPortPrinter.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#include "ShiftRegParallelPortPrinter.h"
219

320
ShiftRegParallelPortPrinter::ShiftRegParallelPortPrinter(String _printerId, int _dataPin, int _clkPin, int _latchPin, int _strobePin, int _busyPin): ParallelPortPrinter(_printerId, _strobePin, _busyPin) {

printserver/ShiftRegParallelPortPrinter.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#pragma once
219
#include "ParallelPortPrinter.h"
320

printserver/TcpPrintServer.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#include "WiFiManager.h"
219
#include "Settings.h"
320
#include "HttpStream.h"

printserver/TcpPrintServer.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
This file is part of printserver-esp8266.
3+
4+
printserver-esp8266 is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
printserver-esp8266 is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
#pragma once
219
#include <Arduino.h>
320
#include <WiFiClient.h>

0 commit comments

Comments
 (0)