Skip to content

Commit

Permalink
Add GPLv3 license in each source file (fix gianluca-nitti#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
gianluca-nitti committed Jan 24, 2018
1 parent e1b8472 commit dad3434
Show file tree
Hide file tree
Showing 24 changed files with 408 additions and 0 deletions.
17 changes: 17 additions & 0 deletions printserver/DirectParallelPortPrinter.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

#include "DirectParallelPortPrinter.h"

DirectParallelPortPrinter::DirectParallelPortPrinter(String _printerId, int _dataPins[8], int _strobePin, int _busyPin): ParallelPortPrinter(_printerId, _strobePin, _busyPin) {
Expand Down
17 changes: 17 additions & 0 deletions printserver/DirectParallelPortPrinter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once
#include "ParallelPortPrinter.h"

Expand Down
17 changes: 17 additions & 0 deletions printserver/HttpStream.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

#include "HttpStream.h"

HttpStream::HttpStream(WiFiClient conn): TcpStream(conn) {
Expand Down
17 changes: 17 additions & 0 deletions printserver/HttpStream.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

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

#include "IppStream.h"

std::set<String> allPrinterDescriptionAttributes {
Expand Down
17 changes: 17 additions & 0 deletions printserver/IppStream.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

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

#include "ParallelPortPrinter.h"

#define STROBE_DELAY 10
Expand Down
17 changes: 17 additions & 0 deletions printserver/ParallelPortPrinter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once
#include "Printer.h"

Expand Down
17 changes: 17 additions & 0 deletions printserver/PrintQueue.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

#include "PrintQueue.h"

size_t PrintQueue::availableFlashSpace = 0;
Expand Down
17 changes: 17 additions & 0 deletions printserver/PrintQueue.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

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

#include "Printer.h"

Printer::Printer(String _printerId): queue(_printerId) {
Expand Down
17 changes: 17 additions & 0 deletions printserver/Printer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

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

#include "SerialPortPrinter.h"

SerialPortPrinter::SerialPortPrinter(String _printerId, Stream* s): Printer(_printerId) {
Expand Down
17 changes: 17 additions & 0 deletions printserver/SerialPortPrinter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once
#include "Printer.h"

Expand Down
17 changes: 17 additions & 0 deletions printserver/Settings.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#define MAXCLIENTS 4
Expand Down
17 changes: 17 additions & 0 deletions printserver/ShiftRegParallelPortPrinter.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

#include "ShiftRegParallelPortPrinter.h"

ShiftRegParallelPortPrinter::ShiftRegParallelPortPrinter(String _printerId, int _dataPin, int _clkPin, int _latchPin, int _strobePin, int _busyPin): ParallelPortPrinter(_printerId, _strobePin, _busyPin) {
Expand Down
17 changes: 17 additions & 0 deletions printserver/ShiftRegParallelPortPrinter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once
#include "ParallelPortPrinter.h"

Expand Down
17 changes: 17 additions & 0 deletions printserver/TcpPrintServer.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
This file is part of printserver-esp8266.
printserver-esp8266 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
printserver-esp8266 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with printserver-esp8266. If not, see <http://www.gnu.org/licenses/>.
*/

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

#pragma once
#include <Arduino.h>
#include <WiFiClient.h>
Expand Down
Loading

0 comments on commit dad3434

Please sign in to comment.