From 23b0dc7c819a169b24ef18b6df57f2faeb7f801b Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 1 Nov 2017 03:53:06 +1100 Subject: [PATCH] [host] Added GPLv2 license to host project --- host/Capture/NvFBC.cpp | 18 ++++++++++++++++++ host/Capture/NvFBC.h | 18 ++++++++++++++++++ host/CaptureFactory.h | 18 ++++++++++++++++++ host/ICapture.h | 18 ++++++++++++++++++ host/IVSHMEM.cpp | 18 ++++++++++++++++++ host/IVSHMEM.h | 18 ++++++++++++++++++ host/MTMemcpy.cpp | 18 ++++++++++++++++++ host/MTMemcpy.h | 18 ++++++++++++++++++ host/Service.cpp | 22 ++++++++++++++++++++-- host/Service.h | 20 +++++++++++++++++++- host/Util.h | 18 ++++++++++++++++++ host/main.cpp | 19 ++++++++++++++++++- 12 files changed, 219 insertions(+), 4 deletions(-) diff --git a/host/Capture/NvFBC.cpp b/host/Capture/NvFBC.cpp index dadf11a7..e4df403c 100644 --- a/host/Capture/NvFBC.cpp +++ b/host/Capture/NvFBC.cpp @@ -1,3 +1,21 @@ +/* +KVMGFX Client - A KVM Client for VGA Passthrough +Copyright (C) 2017 Geoffrey McRae + +This program 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 2 of the License, or (at your option) any later +version. + +This program 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 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #include "NvFBC.h" #include diff --git a/host/Capture/NvFBC.h b/host/Capture/NvFBC.h index 0ab13bdb..d79ba19c 100644 --- a/host/Capture/NvFBC.h +++ b/host/Capture/NvFBC.h @@ -1,3 +1,21 @@ +/* +KVMGFX Client - A KVM Client for VGA Passthrough +Copyright (C) 2017 Geoffrey McRae + +This program 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 2 of the License, or (at your option) any later +version. + +This program 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 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #pragma once #include "ICapture.h" #include "MTMemcpy.h" diff --git a/host/CaptureFactory.h b/host/CaptureFactory.h index 89767b89..aef3be77 100644 --- a/host/CaptureFactory.h +++ b/host/CaptureFactory.h @@ -1,3 +1,21 @@ +/* +KVMGFX Client - A KVM Client for VGA Passthrough +Copyright (C) 2017 Geoffrey McRae + +This program 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 2 of the License, or (at your option) any later +version. + +This program 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 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #pragma once #define W32_LEAN_AND_MEAN diff --git a/host/ICapture.h b/host/ICapture.h index 36a16efd..e2633bf4 100644 --- a/host/ICapture.h +++ b/host/ICapture.h @@ -1,3 +1,21 @@ +/* +KVMGFX Client - A KVM Client for VGA Passthrough +Copyright (C) 2017 Geoffrey McRae + +This program 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 2 of the License, or (at your option) any later +version. + +This program 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 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #pragma once #include "common/KVMGFXHeader.h" diff --git a/host/IVSHMEM.cpp b/host/IVSHMEM.cpp index e4e7782d..0611d1b6 100644 --- a/host/IVSHMEM.cpp +++ b/host/IVSHMEM.cpp @@ -1,3 +1,21 @@ +/* +KVMGFX Client - A KVM Client for VGA Passthrough +Copyright (C) 2017 Geoffrey McRae + +This program 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 2 of the License, or (at your option) any later +version. + +This program 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 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #include "ivshmem.h" #include diff --git a/host/IVSHMEM.h b/host/IVSHMEM.h index aabe015d..65248534 100644 --- a/host/IVSHMEM.h +++ b/host/IVSHMEM.h @@ -1,3 +1,21 @@ +/* +KVMGFX Client - A KVM Client for VGA Passthrough +Copyright (C) 2017 Geoffrey McRae + +This program 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 2 of the License, or (at your option) any later +version. + +This program 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 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #pragma once #define W32_LEAN_AND_MEAN diff --git a/host/MTMemcpy.cpp b/host/MTMemcpy.cpp index e73970cb..cd2a5ca5 100644 --- a/host/MTMemcpy.cpp +++ b/host/MTMemcpy.cpp @@ -1,3 +1,21 @@ +/* +KVMGFX Client - A KVM Client for VGA Passthrough +Copyright (C) 2017 Geoffrey McRae + +This program 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 2 of the License, or (at your option) any later +version. + +This program 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 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #include "MTMemcpy.h" MTMemcpy::MTMemcpy() : diff --git a/host/MTMemcpy.h b/host/MTMemcpy.h index 9f832cc1..61377f75 100644 --- a/host/MTMemcpy.h +++ b/host/MTMemcpy.h @@ -1,3 +1,21 @@ +/* +KVMGFX Client - A KVM Client for VGA Passthrough +Copyright (C) 2017 Geoffrey McRae + +This program 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 2 of the License, or (at your option) any later +version. + +This program 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 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #pragma once #define W32_LEAN_AND_MEAN diff --git a/host/Service.cpp b/host/Service.cpp index 8c87da65..4029d57c 100644 --- a/host/Service.cpp +++ b/host/Service.cpp @@ -1,3 +1,21 @@ +/* +KVMGFX Client - A KVM Client for VGA Passthrough +Copyright (C) 2017 Geoffrey McRae + +This program 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 2 of the License, or (at your option) any later +version. + +This program 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 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #include "Service.h" #include "IVSHMEM.h" @@ -172,6 +190,6 @@ bool Service::Process() return false; } } - + return true; -} +} \ No newline at end of file diff --git a/host/Service.h b/host/Service.h index c89fef7e..08cf2a8f 100644 --- a/host/Service.h +++ b/host/Service.h @@ -1,3 +1,21 @@ +/* +KVMGFX Client - A KVM Client for VGA Passthrough +Copyright (C) 2017 Geoffrey McRae + +This program 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 2 of the License, or (at your option) any later +version. + +This program 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 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #pragma once #define W32_LEAN_AND_MEAN @@ -32,4 +50,4 @@ private: HANDLE m_readyEvent; ICapture * m_capture; void * m_memory; -}; +}; \ No newline at end of file diff --git a/host/Util.h b/host/Util.h index b2140264..595a595e 100644 --- a/host/Util.h +++ b/host/Util.h @@ -1,3 +1,21 @@ +/* +KVMGFX Client - A KVM Client for VGA Passthrough +Copyright (C) 2017 Geoffrey McRae + +This program 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 2 of the License, or (at your option) any later +version. + +This program 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 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #pragma once #include diff --git a/host/main.cpp b/host/main.cpp index 51fb35f8..76df1618 100644 --- a/host/main.cpp +++ b/host/main.cpp @@ -1,5 +1,22 @@ +/* +KVMGFX Client - A KVM Client for VGA Passthrough +Copyright (C) 2017 Geoffrey McRae + +This program 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 2 of the License, or (at your option) any later +version. + +This program 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 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #include -#include #include "common\debug.h" #include "Service.h"