Skip to content

Commit

Permalink
Add GPLv3 license file and copyright headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
oskirby committed Oct 24, 2017
1 parent e1ad84f commit a7ff59f
Show file tree
Hide file tree
Showing 63 changed files with 1,695 additions and 25 deletions.
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

18 changes: 15 additions & 3 deletions src/camApp.pro
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
#-------------------------------------------------
#------------------------------------------------------------------------------
# Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>.
#
# Project created by QtCreator 2013-04-28T14:58:59
# 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 3 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, see <http://www.gnu.org/licenses/>.
#------------------------------------------------------------------------------

QT += core gui

Expand Down Expand Up @@ -37,6 +48,7 @@ INCLUDEPATH += $${QT_SYSROOT}/usr/include \
#
QMAKE_LIBDIR += $${QT_SYSROOT}/usr/lib $${QT_SYSROOT}/usr/lib/gstreamer-0.10
LIBS += -lOMX_Core -ldl -lgmodule-2.0 -lgobject-2.0 -lgstbase-0.10 -lgstreamer-0.10 -lm -lpthread -l:libxml2.so.2 -l:libz.so.1 -lgthread-2.0 -lrt -lglib-2.0
LIBS += -lgstapp-0.10
LIBS += -static-libstdc++
#LIBS += -lgstreamer-0.10 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0

Expand Down
18 changes: 16 additions & 2 deletions src/camLineEdit.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
//Derrive class so we can have input panel on single click

/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#include "camLineEdit.h"
#include <QApplication>
#include <QDebug>
Expand Down
16 changes: 16 additions & 0 deletions src/camLineEdit.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#ifndef CAMLINEEDIT_H
#define CAMLINEEDIT_H

Expand Down
18 changes: 16 additions & 2 deletions src/camdoublespinbox.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
//Derrive class so we can have input panel on single click

/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#include "camdoublespinbox.h"
#include "camLineEdit.h"
#include <QDebug>
Expand Down
16 changes: 16 additions & 0 deletions src/camdoublespinbox.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#ifndef CAMDOUBLESPINBOX_H
#define CAMDOUBLESPINBOX_H

Expand Down
20 changes: 18 additions & 2 deletions src/camera.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#include <pthread.h>
#include <stdio.h>
#include <unistd.h>
Expand Down Expand Up @@ -310,7 +326,7 @@ CameraErrortype Camera::init(GPMC * gpmcInst, Video * vinstInst, LUX1310 * senso
imagerSettings.period = sensor->getMinFramePeriod(imagerSettings.hRes, imagerSettings.vRes);
imagerSettings.exposure = sensor->getMaxExposure(imagerSettings.period);

vinst->frameCallbackArg = (void *)this;
vinst->frameCallbackArg = (void *)this;
vinst->frameCallback = frameCallback;
vinst->init();

Expand All @@ -333,7 +349,7 @@ CameraErrortype Camera::init(GPMC * gpmcInst, Video * vinstInst, LUX1310 * senso

recorder = new VideoRecord();

recorder->eosCallback = recordEosCallback;
recorder->eosCallback = recordEosCallback;
recorder->eosCallbackArg = (void *)this;

if(CAMERA_FILE_NOT_FOUND == loadFPNFromFile(FPN_FILENAME))
Expand Down
16 changes: 16 additions & 0 deletions src/camera.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#ifndef CAMERA_H
#define CAMERA_H

Expand Down
16 changes: 16 additions & 0 deletions src/cameraLowLevel.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#include <stdio.h>
#include <fcntl.h>
#include <QDebug>
Expand Down
16 changes: 16 additions & 0 deletions src/cameraRegisters.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#ifndef CAMERAREGISTERS_H
#define CAMERAREGISTERS_H

Expand Down
16 changes: 16 additions & 0 deletions src/cammainwindow.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#include <QMessageBox>
#include <fcntl.h>
#include <stdio.h>
Expand Down
16 changes: 16 additions & 0 deletions src/cammainwindow.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#ifndef CAMMAINWINDOW_H
#define CAMMAINWINDOW_H

Expand Down
18 changes: 16 additions & 2 deletions src/camspinbox.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
//Derrive class so we can have input panel on single click

/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#include "camspinbox.h"
#include "camLineEdit.h"
#include <QDebug>
Expand Down
16 changes: 16 additions & 0 deletions src/camspinbox.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#ifndef CAMSPINBOX_H
#define CAMSPINBOX_H

Expand Down
18 changes: 16 additions & 2 deletions src/camtextedit.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
//Derrive class so we can have input panel on single click

/****************************************************************************
* Copyright (C) 2013-2017 Kron Technologies Inc <http://www.krontech.ca>. *
* *
* 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 3 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, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
#include "camtextedit.h"
#include <QApplication>
#include <QDebug>
Expand Down
Loading

0 comments on commit a7ff59f

Please sign in to comment.